Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.AddDeviceNProcessColorants

Adds DeviceN process colorants.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 7.4 Yes Yes Yes Yes Yes

MBS( "DynaPDF.AddDeviceNProcessColorants"; PDF; DeviceNCS; Colorants; NumColorants; ProcessCS { ; Handle } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
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 Optional
Alternate color space handle or -1.

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

Example Databases


DynaPDF.AddContinueText   -   DynaPDF.AddDeviceNSeparations

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins