Heresh Heresh - 1 year ago 63
Javascript Question

Possible to search and hold text in defined area of page in Acrobat by Javascript

I have a script that uses the methods:
this.getPageNthWord and this.getPageNumWords, I have it search the whole page for a zip code and then hold that value, is it possible to define a smaller area than the whole page for the script to search?

Answer Source

Crop the page, do your search, then uncrop.

You crop by setting the "crop" pagebox.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download