pdfGetRegion

Get a region handle.
PDFRegionHandle pdfGetRegion(PDFViewerHandle viewer, int idx)
This function returns the handle for the idxth region. idx must be between 0 and n-1, where n is the number returned by pdfGetNumRegions.
C:
PDFRegionHandle region; int n, i; n = pdfGetNumRegions(viewer); for (i = 0; i < n; ++i) { region = pdfGetRegion(viewer, i); /* do something with the region ... */ }
pdfGetNumRegions