getAnnotType

Get the type of an annotation.
getAnnotType([in] LONG annotHandle, [out, retval] BSTR *type)
This function returns the type of an annotation (whose handle was obtained with getAnnot). The type string is one of the annotation types defined in the PDF spec.
VB:
Dim annot As Long Dim type As String Dim xMin As Double, yMin As Double, xMax As Double, yMax As Double ' make annotation list for page 1 pdf.buildAnnotList(1) For i = 0 To pdf.getNumAnnots() - 1 annot = pdf.getAnnot(i) type = pdf.getAnnotType(annot) pdf.getAnnotRect(annot, xMin, yMin, xMax, yMax) ... Next i
buildAnnotList
getNumAnnots
getAnnot
getAnnotRect
getAnnotContent