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, <r...@whiteindian.net> 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
> iText-questions@lists.sourceforge.net
> 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
iText-questions@lists.sourceforge.net
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 via email to