HotXLS Delphi Excel Read Write Library / Component Developers Guide
Reference
>
IXLSFont
>
Color
Color property
Returns or sets the color of the font. Use the
RGB
function to create a color value. Read/write Longword.
Syntax
property
Color: Longword;
Example
This example changes the font color in cell A1 on sheet one to red.
Workbook.Worksheets[
1
].Range[
'A1'
,
'A1'
].Font.Color := RGB(
255
,
0
,
0
);
Copyright©2007-2019
loslab.com