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 - Question
  FAQ FAQ  Forum Search   Register Register  Login Login

Question

 Post Reply Post Reply
Author
Message
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Topic: Question
    Posted: 27 Apr 12 at 11:14PM
To all of you,

I believe i saw functions allowing to extract text from a page using a rectangle coordinates, and another allowing the getextracttext from the top to the bottom.

Did i dream?

If not, are these functions only in the 8.xx release (currently i'm a 7.26 user)

Thanks in advance for your help

Rgds
Eric
Back to Top
edvoigt View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 Mar 11
Location: Berlin, Germany
Status: Offline
Points: 111
Post Options Post Options   Thanks (0) Thanks(0)   Quote edvoigt Quote  Post ReplyReply Direct Link To This Post Posted: 28 Apr 12 at 3:12PM
Hi,

no dream, but as you assume:

DASetTextExtractionArea / SetTextExtractionArea

Version history
This function was introduced in Quick PDF Library version 8.13.

Description
Sets the area for text extraction. Any text that appears outside this area will be excluded from the results.
This function affects the results of the ExtractFilePageText and DAExtractPageText functions only.
The coordinate values passed into this function are specified in points with the bottom left corner of the page as the origin.
The area limitation can be removed by calling this function with a value of zero for both the Width and Height parameters.

Cheers,

Werner
Back to Top
darkv View Drop Down
Team Player
Team Player
Avatar

Joined: 17 Jan 11
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote darkv Quote  Post ReplyReply Direct Link To This Post Posted: 30 Apr 12 at 11:32AM
Thanks Werner for your reply.

So i have to switch to new release

Rgds
Eric
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 12 at 3:52PM
You can extract the full page text and then extract only the text you need  based on the bounding box data returned from GetPageText(3);

DASetTextExtractionArea / SetTextExtractionArea  was added to make it easy to extract 1 or 2 pieces of text quickly but the process is not optimised for extracting 20 values for example.  If you need to extract many values then it would be better to write your own simple rectangle checking routines.

Andrew.
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