How to find the exact location of a word on PDF page?

Q: Is there a way in PDFNet of finding the exact location of a word on
a page?
---

A:
If you use ElementReader class to extract 'text-run' you can use
element.GetBBox(rect) method to obtain the bounding box of the element
in PDF page coordinate system. You can also use this rectangle to
highlight the text on the rasterized page.