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

hi,
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?

Hi
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.
https://docs.aspose.com/words/net/convert-pdf-to-other-document-formats/
You can download this component from here:
https://releases.aspose.com/words/net
Also you can use Aspose.Pdf.Kit to read text from PDF documents. See the following link for more information:
https://docs.aspose.com/pdf/net/overview/
Best regards.

@ikorachredmatch

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");
doc.Save("output.txt");