Can iText convert PDF to Text

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can iText convert PDF to Text

Ross
I'd like to run an API from my program that will convert PDF to a
text file.  Does iText do that?  If not what program does?

Thanks,

--RR


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can iText convert PDF to Text

Dean Johnson
Ross
Here's what I use to extract text from a PDF --
in vb.net  

Private Function GetText(ByVal sInputPathFile As String) As String
    Dim sResults As String = ""
    Dim oReader As New iTextSharp.text.pdf.PdfReader(sInputPathFile)
    For i = 1 To oReader.NumberOfPages
      Dim its As New iTextSharp.text.pdf.parser.SimpleTextExtractionStrategy
      sResults &= iTextSharp.text.pdf.parser.PdfTextExtractor.GetTextFromPage(oReader, i, its)
    Next

    Return sResults
  End Function


On Fri, Mar 1, 2013 at 7:21 AM, <[hidden email]> wrote:
I'd like to run an API from my program that will convert PDF to a
text file.  Does iText do that?  If not what program does?

Thanks,

--RR


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can iText convert PDF to Text

JonyGreen
In reply to this post by Ross
I'm not a developer, i always use this free online pdf to text converter to convert pdf to text online.
Loading...