pdfBuildAnnotList

Construct an annotation list.
void pdfBuildAnnotList(PDFHandle pdf, int page)
This function constructs an annotation list for the specified page.

After building an annotation list, call pdfGetNumAnnots and pdfGetAnnot to access the annotations.

XpdfText holds an annotation list for one page at a time. If you call pdfBuildAnnotList again, the new annotation list will replace the previous one.

C:
/* make annotation list for page 1 */ pdfBuildAnnotList(pdf, 1);
pdfGetNumAnnots
pdfGetAnnot