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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.ChangeSeparationColor

Changes the color of a separation color space.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 7.2 Yes Yes Yes Yes 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 ChangeSeparationColor function in DynaPDF manual.

See also

Example Databases


DynaPDF.ChangeLinkAnnot   -   DynaPDF.CheckConformance

Feedback: Report problem or ask question.




Links
MBS FileMaker blog