Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.AddDeviceNProcessColorants
Adds DeviceN process colorants.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 7.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.AddDeviceNProcessColorants"; PDF; DeviceNCS; Colorants; NumColorants; ProcessCS { ; Handle } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
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 | ||
Handle | Alternate color space handle or -1. | Optional |
Result
Returns OK or error.
Description
Adds 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.
Remarks:
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.
See also
Release notes
- Version 7.4
Example Databases
Blog Entries
This function checks for a license.
Created 27th August 2017, last changed 27th August 2017