We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

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 :)

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:

http://docs.aspose.com/display/wordsnet/Rich+Text+Format+%28RTF%29
http://docs.aspose.com/display/wordsnet/How+to++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,