FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.CellFormat Property

Cell Format for a given cell

Pascal
property CellFormat [Row, Col: integer]: integer;
C++
__property int CellFormat[int Row, Col];

This returns/set the Format number (XF) of a cell. For example, to copy the format on cell A1 to B2 you should write: 

 

FlexCelImport.CellFormat[2,2]:=FlexCelImport.CellFormat[1,1];

 

You can create new formats using the AddFormat function. 

Please refer to the API documentation for a more in depth explanation of XF format indexes. 

 

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!