RgbValues Property

Pageflex Document Action API

Pageflex Document Action API RgbValues Property
Namespaces > Pageflex.Scripting > Color > RgbValues
Gets or sets the red, green, and blue components of this color.
Syntax
C# Visual Basic Managed C++
public uint[] RgbValues { get; set; }
Public Property RgbValues As UInteger()
public:
array<unsigned int>^ RgbValues {
	array<unsigned int>^ get ();
	void set (array<unsigned int>^ value);
}
Remarks
Specifies an array of three UInt32s between 0 and 255, representing the red, green, and blue components of this color.

If this is a CMYK color, the property returns an RGB approximation. Setting the property makes this color an RGB color.

Exceptions
Exception Condition
ValueOutOfRangeException The component values must be between 0 and 255.
ArgumentNullException The value supplied for value was nullNothingnullptr.
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)