These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to get the Highlighted annotation text

eswer_engg
Registered: Sep 26 2007
Posts: 8

How to get the Highlighted annotation text from the pdf using javaScript

My Product Information:
Acrobat Standard 7.0.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You have to search the pdf page for words that fall into the bounding box of the annotation. Use these functions.

doc.getPageNthWord()
doc.getPageNthWordQuads()

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

venkatesh_ur
Registered: Jun 11 2008
Posts: 5
Thomp -

I am using the exact thing what u had mentioned above to get the word and quardinates. But i dont know how to proceed further to highlight the acquired quardinates.

Can you give me a sample?