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!
![]() |
problem in Text Extraction |
Post Reply ![]() |
Author | |
Gerald manickam ![]() Beginner ![]() ![]() Joined: 14 Dec 05 Location: India Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 16 Dec 05 at 2:54AM |
Hello, I used quick pdf to Extract the text from a pdf file.For Some Pages It Gives the error " scan line Index out of Range". The Code That i Used is Here Below Language : VB 6.0 O.S. WIn-2000 Prof. -------------------------------------------------------- FileHandle = data.DAOpenFile(PdfFileName, Key) For idxPageCnt = 1 To data.PageCount ---------------------------------------------------------- Help Me Solve The Error. With Regards, P.Gerald Manickam
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
First you're using the DA-functions and then... Why you don't use DAExtractPageText instead of GetPageText? Have a try. |
|
Cheers,
Ingo |
|
![]() |
|
Gerald manickam ![]() Beginner ![]() ![]() Joined: 14 Dec 05 Location: India Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Sir, Now I used DAExtractPageText().The same Error Comes Here when the option is 3. I also Used Other arguments 1 and 2 as options to DAExtractPageText(). The Function works . But It Returns only 2 co-ordinates. How can i Identify the left,top,right,bottom of a line. Regards, P.Gerald Manickam
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Gerald,
you need only two coordinates 'cause you've the font height in pixel and you know the text length...? |
|
Cheers,
Ingo |
|
![]() |
|
Gerald manickam ![]() Beginner ![]() ![]() Joined: 14 Dec 05 Location: India Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Sir, how can i get the font height in pixel.A sample output from a page i have given here.in This Which is Pixel value. 283.43,193.96,#FFFFFF,1.00,"BPGDPE+Aur00","According to the findings," Regards, P.Gerald Manickam |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Gerald!
Read in the QuickPDF-documentation in the chapter "Fonts". You can use "FontSize"... Good luck, Ingo |
|
Cheers,
Ingo |
|
![]() |
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