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!
GetPageText error if PDF rotated |
Post Reply |
Author | |
Gio
Beginner Joined: 23 Aug 13 Location: Italy Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 23 Aug 13 at 2:27PM |
Hi all,
I'm a new user and I'm testing the last Quick PDF Library trial version just downloaded. One of the first strange things I found is that if I try to extract text with GetPageText function in mode 5 in a page rotated 90 degrees I obtain a completely wrong set o characters length Example: "BOYIBF+Courier",#000000,9.96,104.692,792,104.692,222.0242,96.1961,222.0242,96.1961,792," ORDINE N. 234 DEL 15/07/11" 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-8.4959 This doesn't happen if the page is not rotated. Any idea concerning this? If necessary I can send or upload the sample file... Thank you, Giorgio
|
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Gio,
If you call QP.NormalizePage(0); before calling GetPageText then it will reset the page rotation to 0 and the text extraction will work as expected. Andrew.
|
|
Gio
Beginner Joined: 23 Aug 13 Location: Italy Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Perfect!
Thank you, Giorgio
|
|
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