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

DynaPDF.GetAnnotType

Returns the type of a specific annotation.

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

Parameters

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

Result

Returns type or error.

Description

Returns the type of a specific annotation.
If the function succeeds the return value is the annotation type.
ValueDescription
CaretCaret
CircleCircle
FileLinkA Link annotation with an associated GoToR action (go to remote)
FreeTextFree text
HighlightHighlight annotation
InkInk drawing
LineLine
PageLinkA Link annotation with an associated GoTo action
PolygonPolygon
PolyLinePolyline
PopUpPopup
SquareSquare
SquigglyHighlight annotation
StampStamp
StrikeOutHighlight annotation
TextAlso used as container to store the State Model
UnderlineHighlight annotation
WebLinkA Link annotation with an associated URI action
WidgetForm Fields are handled separately
3D3D, PDF 1.6
SoundAnnotSound, PDF 1.2
FileAttachFile Attachment, PDF 1.3
RedactRedact, PDF 1.7
WatermarkWatermark, PDF 1.6
UnknownUnknown annotation type
MovieAnnotMovie, PDF 1.2
PrinterMarkPrinter Mark, PDF 1.4
ProjectionProjection, PDF 1.7 Extension Level 3
RichMediaRich Media, PDF 1.7 Extension Level 3
ScreenScreen, PDF 1.5
TrapNetTrapNet, PDF 1.3

See also GetAnnotType function in DynaPDF manual.

See also

This function checks for a license.

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


DynaPDF.GetAnnotTextAlign - DynaPDF.GetAnnotation