HotXLS Docs

ForeColor property

Gets or sets the primary foreground colour of the line

Syntax

property ForeColor: TXLSColorFormat;

Example

This example sets the line foreground colour to blue

Shape := Workbook.Sheets[1].Shapes[1];
Shape.Line.ForeColor.RGB := $0000FF;