Restituisce o sets the color of the font. The color is specified as an index value into the current color palette, o as the following XlColorIndex constant: xlColorIndexAutomatic. Read/write LongWord
HotXLS keeps the classic XLS font color API palette-based. ThemeColor / TintAndShade are XLSX-only style concepts. Vedere
Classic XLS color model
Sintassi
proprietà ColorIndex: LongWord;
Esempio
This example changes the font color in cell A1 on sheet one to red
Workbook.Worksheets[1].Range['A1', 'A1'].Font.ColorIndex := 3;