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!
The GetPageText(3/4) returns invalids rectangles |
Post Reply |
Author | |
DELBEKE
Debenu Quick PDF Library Expert Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
Posted: 23 Nov 07 at 4:31AM |
The gettextpage(3) or gettextpage(4) returns lines defining each text with it's bounding rectangle,font Somes times to times, the data returned are not a rectangle.
The following Vb6 code has been writen to show this
|
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
I have had this problem as well. It seems depend upon what created the document. There are a number of different ways of expressing the location of text on the page and some of these ways seem to hide the text from QuickPDF. I don’t not have and answer and because I use QuickPDF principally to extract text I am hopeful that there is a solution. |
|
DELBEKE
Debenu Quick PDF Library Expert Joined: 31 Oct 05 Location: France Status: Offline Points: 151 |
Post Options
Thanks(0)
|
The problem is to get the real Y position, the bottom line can be found by adding the height for the current font
The Y position may be the bottom or the top line for the text (but should be always the same)
As far i've got, one of the y1/y2/y3/y4 is the good one, but i can not found which one.
Ps : i've found sone documents where y1=y2=y3=y4
|
|
swb1
Debenu Quick PDF Library Expert Joined: 05 Dec 05 Location: United States Status: Offline Points: 100 |
Post Options
Thanks(0)
|
I guess my problem is not the same after all. My issue is not with the bounding rectangle. GetPageText(3) is returning the correct rectangle boundaries however it is not returning the correct text. In most cases the text is empty. |
|
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