Free Support Forum - aspose.com

Convert html to doc(x)

how to convert html file to doc(x) file?
This message was posted using Aspose.Live 2 Forum

Hi

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

Thanks for your request. You can use the following code to convert html to docx:

// Open HTML

Document doc = new Document("in.html");

// Save document as DOCX

doc.Save("out.docx");

Also, please see the following link to learn more:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/about-document-conversions-in-aspose-words.html

Best regards,