Community discussion forum

How to Search PDF

  • 11 months ago
    Hello, I need some help on how to open a folder with multiple PDFs, search of text entered in a text box, list the PDF files which contains the text in a list box and click on the filename from the listbox to open the PDF. Can you please help get get startted with sample codes or links related to this topic. Thanks in advance. Victor
    Post was edited on 12/11/2008 19:09:10 Report abuse
  • 11 months ago
    All of what you need is pretty easy, but searching text in PDF could turn to impossible... at least without payed library which can do that...
  • 11 months ago
    Hi Victor, You can use the free, open source, [iTextSharp library](http://sourceforge.net/projects/itextsharp/) which allows you to create PDFs, and also read them! There's an article here describing how to extract text from a PDF using this library - that should be fairly easily turned into a search algorithm. If you're talking a huge collection of PDFs, then it's worth looking at[ Lucene.NET](http://incubator.apache.org/lucene.net/) to perform the searching. Hope that helps

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback