TXlsFile.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.XlsAdapter
procedure TXlsFile.SetFont(const fontIndex: Integer; const aFont: TFlxFont); override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | fontIndex | Integer | Font index. 0-based |
const | aFont | TFlxFont | Font definition |