TExportFont

Description

TExportFont stores the font information. It is the equivalent to the standard Delphi TFont class.

Properties

NameTypeDescription
NameOWideStringFont family/name. Default: Tahoma.
SizeIntegerFont size. Default: 8.
StyleTExportFontStyleFont style (Bold, Italic, Underline, StrikeOut).
ColorTColorFont color. Default: clBlack.

Functions & procedures

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