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 > General Discussion
  New Posts New Posts RSS Feed - searching Reference Guide
  FAQ FAQ  Forum Search   Register Register  Login Login

searching Reference Guide

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


Joined: 14 Apr 07
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgbalaji Quote  Post ReplyReply Direct Link To This Post Topic: searching Reference Guide
    Posted: 16 May 07 at 8:59AM
Hi,

    I installed latest version ie., iSED.dll v5.22 in my system.Previously i worked on iSED.dll v4.41. While working in new version some functions is not working that is used in the previous version.
    Here i put one Example.

GetPageText(4) - This function get the words in a line from pdf in v4.41.

   but the same function is not working in the newer version(5.22).ie., It will extract lines from the pdf.

   Please tell the function how to extract words from pdf using v5.22 or provide the reference guide for v5.22.

Thanks.....
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 07 at 9:32AM
Hi!

Ref. 5.11 is the last official one we have ... I'll post it here if i've time enough. Here's the syntax you're asking for:

GetPageText

Description

This function provides two different methods for extracting text from the selected page, and presents the
results in a variety of formats.

Definition

function GetPageText(ExtractOptions As Long) As String

Parameters

ExtractOptions Using the standard text extraction algorithm:
0 = Extract text in human readable format
1 = Deprecated
2 = Return a CSV string including font, color, size and position of each piece of text on
the page
Using the more accurate text extraction algorithm:
3 = Return a CSV string for each piece of text on the page with the following format:
Font Name, Text Color, Text Size, X1, Y1, X2, Y2, X3, Y3, X4, Y4, Text
The co-ordinates are the four points bounding the text, measured using the units set
with the SetMeasurementUnits function and the origin set with the SetOrigin function.
4 = Similar to option 3, but individual words are returned, making searching for words
easier.

Returns

The text of the selected page, or an empty string if a problem occurred. Lines are separated with CR-LF
characters.


Best regards,
Ingo



Edited by Ingo - 16 May 07 at 9:33AM
Back to Top
mgbalaji View Drop Down
Beginner
Beginner


Joined: 14 Apr 07
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgbalaji Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 07 at 1:20AM
Hi Ingo,

   I have v5.11 reference guide. I already mentioned, this GetPageText function is not working properly.

This is my piece of code:

   Dim data As iSED.QuickPDF
   txt = data.GetPageText(4)

I used this code as per the reference. We put ExtractOptions is 4 means it will extract individual words, but it is not extracting words. It will extract line by line from pdf.I want word by word extraction.

Please tell if any function to extract word by word in v5.22.
I am strugling because of this.

Thanks...
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 07 at 9:35AM
Hi!

If you've tried 5.22 and option 4 doesn't work then it's like it is ... i can't do anything against it. Try 5.21 ... perhaps it's better. You can call Marian, too... perhaps he can do something for you.

Best regards,
Ingo
Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 07 at 8:29PM
Hi there, if you believe that something is not right inside QuickPDF 5.22 you should send us a bug report to support(at)quickpdf.org. Send please pdf document which gives you this problem and I will take a look into it.
 
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