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

DynaPDF.GetPageAnnotCount

Returns the number of annotations which are used by a page.

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

Parameters

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

Result

Returns number of annotations or error.

Description

Returns the number of annotations which are used by a page.
The page must be opened with EditPage() before the function can be used. The annotations of the page can be accessed with DynaPDF.GetAnnotation.
Return values:
If the function succeeds the return value is the number of annotations which are used by a page. If the function fails the return value is a negative error code.

See also GetPageAnnotCount function in DynaPDF manual.

See also

This function checks for a license.

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


DynaPDF.GetPDFVersionEx - DynaPDF.GetPageAnnotation