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

DynaPDF.GetPageAnnotation

Queries details about an annotation on current open page.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
Selector Which value to query. Possible values: Type, Deleted, BBox, BorderWidth, BorderColor, BorderStyle, BackColor, Handle, Author, Content, Name, Subject, PageNum, HighlightMode, DestPage, DestPos, DestType, DestFile, Icon, StampName, AnnotFlags, CreateDate, ModDate, Grouped, Open, Parent, PopUp, State, StateModel, EmbeddedFile, Subtype, PageIndex, MarkupAnnot, Opacity, QuadPoints, DashPattern, Intent, LE1, LE2, Vertices, Caption, CaptionOffsetX, CaptionOffsetY, CaptionPos, LeaderLineLen, LeaderLineExtend or LeaderLineOffset. "Name"

Result

Returns value or error.

Description

Queries details about an annotation on current open page.
The parameter AnnotationHandle must be the array index of the page in which the annotation is used. To enumerate the annotations of a page execute the function in a loop from 0 to DynaPDF.GetPageAnnotCount - 1.

See also GetPageAnnotation function in DynaPDF manual.

See also

This function checks for a license.

Created 25th November 2014, last changed 2nd September 2022


DynaPDF.GetPageAnnotCount - DynaPDF.GetPageBBox