Procedure SetPrefRGB return the RGB color components of the specified preference item. The color must be specified using the RGB components of the desired color. The RGB values are in the range of 0 - 65535.
PROCEDURE SetPrefRGB(
prefIndex : INTEGER;
colorRV : LONGINT;
colorGV : LONGINT;
colorBV : LONGINT);def vs.SetPrefRGB(prefIndex, colorRV, colorGV, colorBV):
return None| Name | Type | Description |
|---|---|---|
| prefIndex | INTEGER | |
| colorRV | LONGINT | The RGB color component (red). |
| colorGV | LONGINT | The RGB color component (green). |
| colorBV | LONGINT | The RGB color component (blue). |
Availability: from Vectorworks14.0