pdfGetSelectedRegion

Get the selected region.
PDFRegionHandle pdfGetSelectedRegion(PDFViewerHandle viewer)
This function returns the handle of the currently selected region, or NULL if no region is selected.
C:
PDFRegionHandle region; region = pdfGetSelectedRegion(viewer); if (region) { /* do something with the region ... */ } else { /* no region is currently selected ... */ }
pdfSetSelectedRegion