Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 328

Previous Page 327   Index   Next Page 329

Function Reference
Page 328 of 750
GetAnnotType
Syntax:
SI32 pdfGetAnnotType(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Annotation handle
typedef enum
{
atCaret,
// Caret annotation
atCircle,
// Circle annotation
atFileLink,
// A Link annotation with an associated GoToR action
atFreeText,
atHighlight,
// Highlight annotation
atInk,
atLine,
atPageLink,
// A Link annotation with an associated GoTo action
atPolygon,
atPolyLine,
atPopUp,
atSquare,
atSquiggly,
// Highlight annotation
atStamp,
atStrikeOut,
// Highlight annotation
atText,
// Also used as container to store the State Model
atUnderline,
// Highlight annotation
atWebLink,
// A Link annotation with an associated URI action
atWidget,
// Form Fields are handled separately
at3D,
// PDF 1.6
atSoundAnnot,
// PDF 1.2
atFileAttach,
// PDF 1.3
atRedact,
// PDF 1.7
atWatermark,
// PDF 1.6
atUnknown,
// Unknown annotation type
atMovieAnnot,
// PDF 1.2
atPrinterMark, // PDF 1.4
atProjection,
// PDF 1.7 Extension Level 3
atRichMedia,
// PDF 1.7 Extension Level 3
atScreen,
// PDF 1.5
atTrapNet
// PDF 1.3
}TAnnotType;
The function returns the type of a specific annotation. The parameter Handle must be a valid
annotation handle. If the function succeeds the return value is the annotation type (make a type cast
to TAnnotType to determine the annotation type). If the function fails the return value is a negative
error code.
 

Previous topic: GetAnnotLink

Next topic: GetBarcodeDict