TExcelFile.SetFont Method
Sets the font definition for a given font index. Normally it is of not use, (you should use AddFont or AddFormat instead) but could be used to change the default font format. (using SetFont(0, font); )
Syntax
Unit: FlexCel.Core
procedure TExcelFile.SetFont(const fontIndex: Integer; const aFont: TFlxFont); virtual; abstract;
Parameters
| <-> | 
Parameter | 
Type | 
Description | 
| const | 
fontIndex | 
Integer | 
Font index. 0-based | 
| const | 
aFont | 
TFlxFont | 
Font definition | 
 
See also