Returns or sets colors in the palette for the workbook. The palette has 56 entries, each represented by an
RGB value. Read/write LongWord.
Syntax
property Colors[Index: integer; lcid: integer]: LongWord;
| Index | Integer. The color number (from 1 to 56). |
| lcid | Integer. The locale ID. |
Description
Returns or sets colors in the palette for the workbook. The palette has 56 entries, each represented by an RGB value. Read/write LongWord.
Example
This example sets color six in the color palette for the workbook.
Workbook.Colors[6, 0] := RGB(200, 100, 100);