How to: Convert an HTML Document to DOCX Format
The following code example shows how to convert an HTML document to the DOCX format using the RichEditDocumentServer.
server.LoadDocument("Documents\\TextWithImages.htm");
server.SaveDocument("Document_DOCX.docx", DocumentFormat.OpenXml);
System.Diagnostics.Process.Start("Document_DOCX.docx");
Note
Implement the IUri