Click here to Skip to main content
16,019,055 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Guys

I found a similar project called hoot which find the pdf according to the given user query

but it doesn't show the content of relevant words matches. I would like to have some help how to extract the content and show it separately from the pdf without just showing the location.


Thanking you
Posted

1 solution

You have to extract the text from the file. You can use the IFilter interface and an implementation of it for PDF.
See following links:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542[^] read note on the page about 32 bit version
Using IFilter in C#[^]
Converting PDF to Text in C#[^]
C# search engine: refactored to search Word, PDF and more[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900