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

Ajay PatelPosted Feb 14, 2014, 1:09 AM
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.
Shweta LodhaPosted Feb 12, 2014, 3:17 PM
http://www.codeproject.com/Articles/14170/Extract-Text-from-PDF-in-C-100-NET