I have attempted to use ExtractText to access the text of the attached PDF document. It returns an empty string. Can you please explain why?
My code is below:
PdfExtractor extractor = new PdfExtractor();
extractor.BindPdf(fileName);
extractor.ExtractText();
extractor.GetText("~text.tmp");
string strRet = File.ReadAllText("~text.tmp");
File.Delete("~text.tmp");
return strRet;