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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - text extraction
  FAQ FAQ  Forum Search   Register Register  Login Login

text extraction

 Post Reply Post Reply
Author
Message
kubeos View Drop Down
Beginner
Beginner


Joined: 10 Nov 15
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote kubeos Quote  Post ReplyReply Direct Link To This Post Topic: text extraction
    Posted: 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.
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 437
Post Options Post Options   Thanks (0) Thanks(0)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post 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().
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store