Free Support Forum - aspose.com

Embedded font PDF

Can I convert embedded font pdf file to text using this library ?

Hi,


Thanks for contacting support.

As per my understanding, you need to extract the contents of PDF file and save them as TXT file. If so is the case, then I am pleased to share that Aspose.Pdf for .NET supports the feature to convert PDF file to Text format. For further details, please follow the instructions specified over Extract Text from all the Pages using Text Device

Once the text is extracted in extractedText object, you may try using following code line to save the output as Text file.

File.WriteAllText(“text.txt”, extractedText);