Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.RenameSpotColor

Renames a spot color.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 7.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.RenameSpotColor"; PDF; Colorant { ; NewName } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
Colorant Colorant name to change. "PANTONE 376 C"
NewName New name or empty. "Cyan" Optional

Result

Returns number or error.

Description

Renames a spot color.
Renames the spot color Colorant to NewName in all Separation, DeviceN, and NChannel color spaces in which the colorant can be found. If the parameter NewName is set to empty, the function renames the colorant to the special value None which produces no visible output.
The representation of the colorant in the alternate color space is left unchanged, also if the colorant is set to the special value None or All.
The function returns the number of color spaces in which the colorant has been changed. If the function fails the return value is the error message.

See also RenameSpotColor 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.ReleaseAll - DynaPDF.RenderPDFFile