Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
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  


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 } )   More


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.


Returns OK or error.


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

Blog Entries

Created 22nd March 2017, last changed 22nd March 2017

DynaPDF.ChangeLinkAnnot   -   DynaPDF.CheckConformance

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins