Reputation: 305
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?
Upvotes: 0
Views: 36
Reputation: 3615
Crop the page, do your search, then uncrop.
You crop by setting the "crop" pagebox.
Upvotes: 1