Converting .rtf to pdf

I need to convert a .rtf file to pdf. Which Aspose .dll do I need? Or can Aspose do the job at all?
Regards, Karit :slight_smile:

Hi
Karit,

Thanks for your inquiry. You need Aspose.Words for .Net for loading RTF documents into memory and then converting them to PDF format. You can download the latest version of Aspose.Words from here. Moreover, you can achieve this after reading the articles suggested below:

https://docs.aspose.com/words/net/supported-document-formats/
https://docs.aspose.com/words/net/convert-a-document-to-pdf/

To convert RTF file to PDF format, please use the following simple code:

Document doc = new Document(@"C:\temp\in.rtf");
doc.Save(@"C:\temp\out.pdf");

Please let us know if you need more information, we are always glad to help you.

Best Regards,