Docs HotXLS

Font-property

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

Syntaxe

property Font: IXLSFont;

Exemple

Cet exemple définit la police et la taille de police des cellules A1:F2 de la première feuille en Arial gras 12 points

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