pdfGetAnnot
Get an annotation handle.
PDFAnnotHandle pdfGetAnnot(PDFHandle pdf, int idx)
This function returns an opaque handle (of
type
PDFAnnotHandle
) for
the idx
th annotation on the annotation list
constructed by the most recent call to pdfBuildAnnotList
.
This handle can be passed to the various pdfGetAnnot...
functions to retrieve information about the word.
C:
PDFAnnotHandle annot;
/* make annotation list for page 1 */
pdfBuildAnnotList(pdf, 1);
for (i = 0; i < pdfGetNumAnnots(pdf); ++i) {
annot = pdfGetAnnot(pdf, i);
...
}