/
HotXLS-dokumentation

Egenskap ForeColor

Returnerar or sets the foreground color of the shape fill format

Syntax

property ForeColor: TXLSColorFormat;

Exempel

This example sets the fill color of the first shape to red


Shape := Workbook.Sheets[1].Shapes[1];
Shape.Fill.ForeColor.RGB := $FF0000;