Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
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
- Version 7.2
Example Databases
Blog Entries
This function checks for a license.
Created 22nd March 2017, last changed 22nd March 2017
