Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Finding Text/Paragraph rectangles |
Post Reply |
Author | |
dhart
Beginner Joined: 15 Apr 09 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 15 Apr 09 at 5:27PM |
I need to find the rectangles that make up the paragraphs and/or blocks
of text in a PDF page. I have looked at iTextSharp and DataLogics. The
best I have been able to do is find individual words. However, I can not seem to find the rectangle that holds the entire block of text.
My goal is to rasterize a page. The use C# to draw outlines around the text blocks/paragraphs in each page. I am using C#. Can Quick PDF do this for me? Please let me know. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
The rectangles for textstrings or even single words you can get in QuickPDF with the textextract-functions and option 3 (strings) or 4 (single words). With this functions you'll get the four values for the points top, left/ bottom, left/top, right/ bottom, right of each word ... the necessary values for your rectangle. Cheers, Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store