Free Support Forum - aspose.com

Unable to extract all text

Hello Support,

I am unable to extract all text from enclosed .pdf…
what I missed?

Aspose.Pdf.Facades.PdfExtractor extractor = new Aspose.Pdf.Facades.PdfExtractor();
extractor.BindPdf(“test.pdf”);
extractor.ExtractText();
extractor.GetText(“output.txt”);

what I got was only:

Evaluation Only. Created with Aspose.Pdf. Copyright 2002-2012 Aspose Pty Ltd.
PT Lippo General Ins


Hi,


The reason you are only getting the evaluation text as a result of extraction is because you might be using the product in trail/unlicensed mode. Because during my testing, when I have used a valid license with Aspose.Pdf for .NET 7.4.0, the text is properly being extracted. Please take a look over the attached file which contains the contents of PDF document.

In case you have not yet purchased the license, you may request a 30 days Temporary license. Please visit the following link for further information on How to send a license?