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

Free Support Forum - aspose.com

Pdf API question

Hi,

Does your API for .net 4 support conversion from word doc to pdf? If
yes could you please send me some more info on it? I want to use it in
our web application to convert word doc to pdf and save it on file
system.

Thanks,

Ishfaq

This message was posted using Email2Forum by msabir.

Hi Ishfaq,

Thank you for request. You need to download the latest version of Aspose.Words assembly first.

You can download the required assembly from following link:

https://downloads.aspose.com/words/net

you can convert the doc to pdf format using following code:

// Open document.
Document doc = new Document(@"C:\Temp\in.doc");
// Accept all changes.
doc.acceptAllRevisions();
// Save document to PDF.
doc.saveToPdf(@"C:\Temp\out.pdf");

Regards,

Imran Rafique