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

DynaPDF.ChangeSeparationColor

Changes the color of a separation color space.

Component: DynaPDF
Version: 7.2
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "DynaPDF.ChangeSeparationColor"; PDF; CSHandle; NewColor; Alternate { ; AltHandle } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
CSHandle Handle of the separation color space.
NewColor New color in the alternate color space.
Alternate The alternate color space.
Can be DeviceRGB, DeviceCMYK, DeviceGray, CalGray, CalRGB, Lab, ICCBased, Pattern, Indexed, Separation, DeviceN, NChannel or the machting number value.
AltHandle Optional
The Color space handle or -1 for device spaces.

Result

Returns OK or error.

Description

Changes the color of a separation color space.
The new color value must be defined in the alternate color space. The alternate color space can be any device or ICC based color space including Lab. If a non-device color space is used, the parameter AltHandle must be set to the color space handle of the alternate color space.
If the function succeeds the return value is OK. If the function fails the return value is the error.

See also


DynaPDF.ChangeLinkAnnot   -   DynaPDF.CheckConformance

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Nachhilfe in Kruft