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

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