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

Free Support Forum - aspose.com

Convert MS Word to PDF

Hi

What are the Aspose components we will be needing to convert MS Word to PDF?


This message was posted using Aspose.Live 2 Forum

Hello


Thank you for your interest in Aspose products. You can use Aspose.Words to convert Word documents to PDF format. You can use the following code to convert your document:

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

// Open DOC document

Document doc = new Document(@"Test\in.doc");

// Convert to Pdf

doc.SaveToPdf(@"Test\out.pdf");

Please see the following link to learn more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/loading-saving-and-converting.html

Best regards,