VS:GetPrefRGB

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

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

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)

Version

Availability: from Vectorworks14.0

See Also

VS:SetPrefRGB
[[VS:SetPrefRGB]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox