CmykValues Property

Pageflex Document Action API

Pageflex Document Action API CmykValues Property
Namespaces > Pageflex.Scripting > Color > CmykValues
Gets or sets the cyan, magenta, yellow, and black components of this color.
Syntax
C# Visual Basic Managed C++
public double[] CmykValues { get; set; }
Public Property CmykValues As Double()
public:
array<double>^ CmykValues {
	array<double>^ get ();
	void set (array<double>^ value);
}
Remarks
Specifies an array of four Doubles between 0 and 100, representing the cyan, magenta, yellow, and black components of this color.

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

Exceptions
Exception Condition
ValueOutOfRangeException The component values must be between 0 and 100.
WrongArraySizeException The component array must have 3 members.
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)