Free Support Forum -

Get coordinates for words on a page

We are using Aspose Java library.

We are trying to get coordinates for all the words on the page. Is there an easier way to do this than doing searching on the word to get the TextFragment of it and then the coordinates of the TextFragment. The search seem to be very time consuming.



We are afraid that using TextFragmentAbsorber is the only way to extract words/text from a PDF document in order find coordinates of every text fragment. In case you are noticing any performance related issue, please share your sample PDF with sample code snippet so that we can test the scenario in our environment and address it accordingly.