TExportFont stores the font information. It is the equivalent to the standard Delphi TFont class.
Name | Type | Description |
---|---|---|
Name | OWideString | Font family/name. Default: Tahoma. |
Size | Integer | Font size. Default: 8. |
Style | TExportFontStyle | Font style (Bold, Italic, Underline, StrikeOut). |
Color | TColor | Font color. Default: clBlack. |
function Set*(const *): TExportFont; |
---|
The Set* functions set the appropriate style property and return Self (the font object).
Thanks to this, more Set* functions can be called in one line. Example: //var xCell: TExportCell; xCell.Style.Font.SetName('Courier New').SetSize(12); |