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.ChangeAnnotName

Changes or deletes the optional unique name of an annotation.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ChangeAnnotName"; PDF; AnnotationHandle; Name )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
Name The new annotation name. "MyAnnotation"

Result

Returns OK or error.

Description

Changes or deletes the optional unique name of an annotation.
If the parameter Name contains an empty string, the name will be deleted. The annotation name must be a unique string so that the annotation can be identified in JavaScript actions. The string could be a GUIID, a hash, or any other string that uniquely identifies the annotation.

See also ChangeAnnotName function in DynaPDF manual.

See also

This function checks for a license.

Created 25th November 2014, last changed 25th November 2014


DynaPDF.CMYK - DynaPDF.ChangeAnnotPos

💬 Ask a question or report a problem