TExportFontStyle

Description

TExportFontStyle stores style information of TExportFont.

Properties

NameTypeDescription
BoldTExportFontStyleBIS Font weight (bold / normal).
Values:
  • efsAuto: use auto (parent) value
  • efsYes: bold
  • efsNo: normal (no bold font)
UnderlineTExportFontStyleUnderline Font underline.
Values:
  • efuAuto: use auto (parent) value
  • efuSingle: single underline
  • efuDouble: double underline
  • efuSingleAccounting: single accounting underline
  • efuDoubleAccounting: double accounting underline
  • efsNo: without underline
ItalicTExportFontStyleBIS Font italic (italic / normal).
See Bold for values.
StrikeOutTExportFontStyleBIS Font strike out (strike out / normal).
See Bold for values.
AsFontStylesTFontStyles 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.

Functions & procedures

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);
Categories