Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Is it possible to extract text from a page area with QuickPDF?

Question

The goal is, given the coords of a region, extract the text contained in that area form pdf?

The only plan i have now is convert to image and then ocr...

Answer

It's not possible to specify co-ordinates and then only extract text from that page area, but it is possible to extract all text from a page using the GetPageText function, along with the co-ordinates for each word, and then to query the CSV string that is returned to only pick out words that were located within a specific area of co-ordinates.

So what you're trying to do is possible, but you need to approach it from the opposite direction.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum