The following code attempts to import a PDF into a newly created document and extract the text from it, using LFSO83 and DocumentProcessor83, but gets the following error during the call to ExtractText:
Text cannot be extracted from this file type.
DocumentImporter importer = new DocumentImporter(); importer.Document = (LFDocument)lfEntry; importer.ImportElectronicFile(PdfPath); TextExtractor te = new TextExtractor(); te.ExtractText((LFDocument)importer.Document, 1, Import_Page_Action.IMPORT_PAGE_ACTION_OVERWRITE);
A previous LF Answers post states that PDF text can be extracted using the TextExtractor class. Are there prerequisites (like Adobe Reader) that need to be installed on the machine in order to successfully run this code?