HotXLS Docs

Font property

Returns a IXLSFont object that represents the font of the specified range

Syntax

property Font: IXLSFont;

Example

This example sets the font and font size for A1:F2 cells on first sheet to 12-pointer bold Arial.

With Workbook.Sheets[1].Range['A1', 'F2'].Font do
begin
  Name := 'Arial';
  Size := 12;
  Bold := True;
end;