getNumAnnots
Get the number of annotations on the annotation list.
getNumAnnots([out, retval] int *n)
This function returns the number of annotations on the annotation list
constructed by the most recent call to
buildAnnotList
.
Call getAnnot
to access the annotations.
VB:
Dim annot As Long
' make annotation list for page 1
pdf.buildAnnotList(1)
For i = 0 To pdf.getNumAnnots() - 1
annot = pdf.getAnnot(i)
...
Next i