Free Support Forum - aspose.com

Convert from Html to Docx

Excuse me,
Since I’m still evaluating your product I wish to know if there’s a class/helper that can help me to convert from HTML (that can have been taken previously by another Word/Excel file) to Docx

Thanks in advance

@advapi,

Thanks for your inquiry. Please refer to the following articles.
Creating or Loading a Document
Saving a Document

You can convert HTML to DOCX using following code example.

//Load the docuemnt. 
Document doc = new Document(MyDir + @"Input.html");
//Save the document.
doc.Save(MyDir + @"18.4.docx", SaveFormat.Docx);