HotXLS-dokumentation

Colors egenskab

Returnerer or sets colors in the palette for the Workbook. The palette has 56 entries, each represented by an RGB value. Read/write LongWord

Syntaks

property Colors[Index: Integer; lcid: Integer]: LongWord;
Index Integer. The color number (from 1 to 56)
lcid Integer. The locale ID

Beskrivelse

Returnerer or sets colors in the palette for the Workbook. The palette has 56 entries, each represented by an RGB value. Read/write LongWord

Eksempel

This example sets color six in the color palette for the Workbook

Workbook.Colors[6, 0] := RGB(200, 100, 100);