Hello,
I have number of pdf ot doc. file in my directory. I want to implement content search for all that eBooks.
Like. if user pass any keyword then that word must be searched inside file's content.
Please provide me how to do this by easy way ..
Thanks


Shweta LodhaRank #31 · 39.8K reputationPosted Feb 12, 2014, 10:17 AM EST
http://www.codeproject.com/Articles/14170/Extract-Text-from-PDF-in-C-100-NET
Ajay Patel148 reputationPosted Feb 13, 2014, 8:09 PM EST
iTextSharp.text.pdf.PdfReader r = new iTextSharp.text.pdf.PdfReader(@"C:\1.pdf");
ITextExtractionStrategy pes = new SimpleTextExtractionStrategy();
string str = PdfTextExtractor.GetTextFromPage(r, 15);
str = Encoding.UTF8.GetString(ASCIIEncoding.Convert(Encoding.Default, Encoding.UTF8, Encoding.Default.GetBytes(str)));
But If you have More solution please provide. because this solution convert pdf to text by Page.