How to convert PDF to TXT using Aspose.Wrods for .NET

we have purchased Aspose.Words to get text from word documents, but we also need to get text from pdf files , is it necessary to buy aspose.pdf too?
or is Aspose.Words able to do this job as well?

Thanks for your inquiry. No, unfortunately Aspose.Words does not allow reading PDF file. But there is new Aspose product called Aspose.Recognition that allows achieving this. See the following link for more information.
You can download this component from here:
Also you can use Aspose.Pdf.Kit to read text from PDF documents. See the following link for more information:
Best regards.


The latest version of Aspose.Words does support import of PDF. Please install the latest version of Aspose.Words for .NET through NuGet and convert the PDF to TXT format as shown below.

Document doc = new Document("input.pdf");