Gets or sets as a single number the RGB component values defining the color.
Syntax
C# | Visual Basic | Managed C++ |
public uint RgbValue { get; set; }
Public Property RgbValue As UInteger
public: unsigned int RgbValue { unsigned int get (); void set (unsigned int value); }
Remarks
Specifies a 32-bit number, with 8 bits for each component of the color.
As a hexadecimal number the value is 00RRGGBB.
For example, the RGB color hexadecimal value 0000FF77 has a red component of 0, a green component of FF
(255, meaning 100%), and a blue component of 77 (127, meaning 50%).
If this is a CMYK color, the property returns an RGB approximation. Setting the property makes this color an RGB color.
Exceptions
Exception | Condition |
---|---|
ValueTooLargeException | The value must be FFFFFF or smaller. |
StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)