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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


DynaPDF.ReleaseAll - DynaPDF.RenderPDFFile

Feedback: Report problem or ask question.