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 - PDF to text
  FAQ FAQ  Forum Search   Register Register  Login Login

PDF to text

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


Joined: 06 Aug 10
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote battit64 Quote  Post ReplyReply Direct Link To This Post Topic: PDF to text
    Posted: 06 Aug 10 at 1:10PM
Hello

anyone has an exemple to convert pdf to text with coordoninate in VB .NET
thanks
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 12 Oct 10 at 1:44PM
Here's some VB sample code that demonstrates how to use the ExtractFilePageText function to extract text from all pages in a PDF with co-ordinates and other information.

' Load the test file and Iterate through each page in the 
' PDF and append it to a text file.

Dim strInputFilePath As String = GetInputFolder() + "apply_ fingerprint.pdf"

QP.LoadFromFile(strInputFilePath)

' Calculate the number of pages
Dim iNumPages As Integer = QP.PageCount()

Dim strText As String = ""
Dim nPage As Integer = 0

For nPage = 1 To iNumPages
strText = strText + QP.ExtractFilePageText(strInputFilePath, "", nPage, 4)
Next

' Write all the data to a file
s = oFSO.CreateTextFile(GetOutputFolder() + "extracted_text.txt", 1)
s.Writeline(strText)
s.Close()

' Display the text
MsgBox(strText)
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