HotXLS Delphi Excel Read Write Library / Component Developers Guide
Reference
>
IXLSFont
>
Italic
Italic property
True if the font style is italic. Read/write Boolean
Syntax
property
Italic: boolean;
Example
This example sets the font style to italic for the range A1:A5 on sheet one.
Workbook.Worksheets[
1
].Range[
'A1'
,
'A5'
].Font.Italic := True;
Copyright©2007-2019
loslab.com