HotXLS Docs
Contents
Home
Overview
TGridToXLS
IXLSWorkbook
Home
Contents
Overview
ForeColor property
Returns or sets the foreground color of the shape fill format
Syntax
property
ForeColor: TXLSColorFormat;
Example
This example sets the fill color of the first shape to red
Shape := Workbook.Sheets[1].Shapes[1]; Shape.Fill.ForeColor.RGB := $FF0000;