TExportFontStyle stores style information of TExportFont.
Name | Type | Description |
---|---|---|
Bold | TExportFontStyleBIS |
Font weight (bold / normal). Values:
|
Underline | TExportFontStyleUnderline |
Font underline. Values:
|
Italic | TExportFontStyleBIS |
Font italic (italic / normal). See Bold for values. |
StrikeOut | TExportFontStyleBIS |
Font strike out (strike out / normal). See Bold for values. |
AsFontStyles | TFontStyles |
This property is a shorcut to Delphi's equivalent TFontStyles set. Please note
that TFontStyles does not support as many formatting options as TExportFontStyle.
! Important, Delphi 7 users: due to a bug in Delphi 7, this property is not available in Delphi 7. Please use the function GetAsFontStyles and the procedure SetAsFontStyles for the same functionality. |
function Set*(const *): TExportFontStyle; |
---|
The Set* functions set the appropriate style property and return Self (the font style object).
Thanks to this, more Set* functions can be called in one line. Example: //var xCell: TExportCell; xCell.Style.Font.Style.SetBold.SetUnderline(efuNo); |