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

DynaPDF.GetAnnotCount

Returns the number of annotations currently used in the document.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf

Result

Returns number or error.

Description

Returns the number of annotations currently used in the document.
Note: This value includes also annotations which were deleted by DynaPDF.DeleteAnnotation because annotations are not physically deleted at runtime. This value can be used to loop over all annotations. Annotation handles are simple array indexes.

See also GetAnnotCount function in DynaPDF manual.

See also

Example Databases

This function checks for a license.

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


DynaPDF.GetAnnotColor - DynaPDF.GetAnnotFlags