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!
![]() |
text extraction |
Post Reply
|
| Author | |
kubeos
Beginner
Joined: 10 Nov 15 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: text extractionPosted: 10 Nov 15 at 4:20PM |
|
cannot see why:
QP.SetOrigin(1); QP.SetTextExtractionArea( 0, 0, QP.PageWidth(), QP.PageHeight()); QP.GetPageText( 8); // <- ok, some text works as expected, but QP.SetOrigin(0); QP.SetTextExtractionArea( 0, 0, QP.PageWidth(), QP.PageHeight()); QP.GetPageText( 8); // <- returns empty string will not ? Any help welcome. |
|
![]() |
|
tfrost
Senior Member
Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 Nov 15 at 9:59AM |
|
With set origin 0, the origin of measurement is the bottom left corner. So the vertical co-ordinate of the top of the area (which you must supply as the second parameter in SetTextExtractionArea) should be -QP.PageHeight().
|
|
![]() |
|
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