Skip to main content
Balav483
Known Participant
June 21, 2016
Question

Find a text and get the coordinates of the text

  • June 21, 2016
  • 1 reply
  • 1565 views

Hi All

     I want to find/search text(may be single word or muti line text) in pdf and in addition i would like to get the coordinates of the found text. Is its is possible? using acrobat sdk if possible which api should i use.

Findtext in vb method is used to return the result but i am not able to get its coordinates

Thanks

Bala

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
June 21, 2016

With the JavaScript API you can check all words in the document.

Look at getPageNthWord and getPageNthWordQuads in the Acrobat JavaScript Reference.