FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.GetFormatList Method

Returns a TFlxFormat structure where you can read the borders/color/font/etc for an existing XF format index (0 based).

Pascal
procedure GetFormatList(const index: integer; var F: TFlxFormat);
C++
__fastcall GetFormatList(const int index, TFlxFormat F);
Parameters 
Description 
const index: integer 
XF definition (0 based) 
var F: TFlxFormat 
Variable where the format definition will be returned. 

You can use this method to get a cell format definition (TFlxFormat) from its XF index. To add a new format to the list use the AddFormat function.

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