HotXLS Docs

TitleFont property

Specifies the font of the title band. Read-only TXLSDataExportFont; the default is Calibri at 12 points with the bold style

Remarks

Read the font object and assign its Name, Size, Style, and Color members; the component owns the object, so do not free it. The font is used only when Title is not empty. On non-Windows targets the same object is a TPersistent font description without a handle, following the portable font and color rules

Syntax

property TitleFont: TXLSDataExportFont read FTitleFont;

Example

This example makes the title band 14-point bold Arial

DataToXLS1.TitleFont.Name := 'Arial';
DataToXLS1.TitleFont.Size := 14;
DataToXLS1.TitleFont.Style := [xlsDataExportBold];