Sets the font definition for a given format index. Normally it is of not use, (you should use AddFont or AddFormat instead) but could be used to change the default format. (using SetFormat(0, fmt); ). This method will change style XFs and CellXfs, depending if aFormat  is a StyleXF or a CellXF.
Syntax
Unit: FlexCel.Core
procedure TExcelFile.SetFormat(const formatIndex: Integer; const aFormat: TFlxFormat); virtual; abstract;
Parameters
| <-> | 
Parameter | 
Type | 
Description | 
| const | 
formatIndex | 
Integer | 
Format index. 0-based | 
| const | 
aFormat | 
TFlxFormat | 
Format definition | 
 
See also