How do I locate text on a PDF page and insert an image in that location?

Q: Is it possible with your PDF java api to get the x,y coordinates of
a string that is located somewhere in the pdf page (portrait or
landscape) , and insert an image in that location?
-----
A: Using PDFNet SDK (www.pdftron.com/net) you can obtain (x,y)
coordinates of a string that is located somewhere on the PDF page, and
then insert an image on that locations.

To locate text on the page, the simplest approach would be to use
TextExtractor class. As an example of how to extract words from a
given PDF page, please take a look at example #3 in TextExtract sample
project (http://www.pdftron.com/net/samplecode.html#TextExtract).
Given a word you can obtain its positioning information using
word.GetBBox() method.

To place an image over the text you would use ElementBuilder &
ElementWriter as shown in AddImage sample project (http://
www.pdftron.com/net/samplecode.html#AddImage).