/
HotXLS-dokumentation

Egenskab ForeColor

Returnerer or sets the foreground color of the shape fill format

Syntaks

property ForeColor: TXLSColorFormat;

Eksempel

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


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