Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

DynaPDF.ChangeSeparationColor

Changes the color of a separation color space.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 7.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ChangeSeparationColor"; PDF; CSHandle; NewColor; Alternate { ; AltHandle } )   More

Parameters

Parameter Description Example Flags
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 The Color space handle or -1 for device spaces. Optional

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

Release notes

Example Databases

Blog Entries

This function checks for a license.

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


DynaPDF.ChangeOCGName - DynaPDF.CheckConformance

💬 Ask a question or report a problem