CmykValue Property

Pageflex Document Action API

Pageflex Document Action API CmykValue Property
Namespaces > Pageflex.Scripting > Color > CmykValue
Gets or sets as a single number the CMYK component values defining the color.
Syntax
C# Visual Basic Managed C++
public uint CmykValue { get; set; }
Public Property CmykValue As UInteger
public:
unsigned int CmykValue {
	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 CCMMYYKK.

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

Exceptions
Exception Condition
WrongArraySizeException The component array must have 4 members.
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)