Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

DynaPDF.RenameSpotColor

Renames a spot color.

Component: DynaPDF
Version: 7.2
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "DynaPDF.RenameSpotColor"; PDF; Colorant { ; NewName } )

Parameters

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

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


DynaPDF.Release   -   DynaPDF.RenderPDFFile

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde St. Arnulf Nickenich