Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 810 Bytes

File metadata and controls

34 lines (27 loc) · 810 Bytes

GetPrefRGB

Description

Procedure GetPrefRGB return the RGB color components of the specified preference item. The RGB values are in the range of 0 - 65535.

PROCEDURE GetPrefRGB(
				prefIndex   : INTEGER;
				VAR colorRV : LONGINT;
				VAR colorGV : LONGINT;
				VAR colorBV : LONGINT);
def vs.GetPrefRGB(prefIndex):
    return (colorRV, colorGV, colorBV)

Parameters

Name Type Description
prefIndex INTEGER Preference item constant
colorRV LONGINT Returns RGB color component (red)
colorGV LONGINT Returns RGB color component (green)
colorBV LONGINT Returns RGB color component (blue)

See Also

SetPrefRGB

Version

Availability: from Vectorworks14.0

Category