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

How can I get text in a text block and its bounding rectangle?

Question

GetPageText() function gives text line-by-line . I am interested in full text block.

Answer

PDF files can be generated using all sorts of methods, fonts, styles etc..

Quick PDF does not currently have functions to report anything more than a line by line basis.

It gets very difficult to determine what should be in the block and what shouldn't. What happens when you have a bolded word in a paragraph. How do you report that ? Also it may be straight forward for letter but what how do we support invoices. Once we start adding a feature like this it would be impossible for it to keep everyone happy due to the endless variations and interpretations of what is a block and what is not.

We are looking at returning a formatted text (.TXT) file version of the file in the next release of Quick PDF library.


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