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


Deletes an annotation.

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


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5


Returns OK or error.


Deletes an annotation.
Annotations are global objects. To delete specific annotations of a PDF file use the functions DynaPDF.GetAnnotCount, DynaPDF.GetAnnotType and DynaPDF.DeleteAnnotation.
Annotations are marked as deleted and not removed from list of annotations right away.

See also DeleteAnnotation function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

Created 25th November 2014, last changed 16th January 2020

DynaPDF.DeleteAltFontList - DynaPDF.DeleteBookmark