Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.5 8.0 8.1 8.2 8.3 8.4 8.5 9.0 9.1 9.2 Statistic
Adds DeviceN process colorants.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|DeviceNCS||Handle of a DeviceN or NChannel color space|
|Colorants||Array of colorant names.|
|NumColorants||Number of colorants in the arrays.|
|ProcessCS||Process color space|
Alternate color space handle or -1.
Returns OK or error.
DescriptionAdds DeviceN process colorants.
Adds a dictionary to a DeviceN or NChannel color space that describes the process color space whose components are included in the DeviceN or NChannel color space.
The array Colorants holds the process colorant names which are included in the process color space. The names must appear in the normal color space order, e.g. Red, Green, and Blue, for a RGB color space and the number of colorant names must match the number of color components in the process color space. However, the names in the Colorants array need not match the actual color space names. For example, a Red component need not be named Red.
Definitions of process colorants must not appear in the definition of spot colorants (see DynaPDF.AddDeviceNSeparations).
The reserved names Cyan, Magenta, Yellow, and Black are always considered to be process colors, which do not necessarily correspond to the colorants of a specific device; they are not required to have entries in the process dictionary.
If NumColorants is zero the functions deletes existing definitions of process colorants in the DeviceN or NChannel color space. Otherwise, existing definitions will be overridden.
Process colorant names must are defined in the code page 1252 (WinAnsi). The plugin will convert text to Windows ANSI.
See also AddDeviceNProcessColorants function in DynaPDF manual.
Created 27th August 2017, last changed 27th August 2017
Feedback: Report problem or ask question.
MBS Xojo PDF Plugins