Hello, I have attached a few documents and will try to explain the requirements.
Dim asposeWords As New Words.Document("C:\InfoEdSVN\Internal\Alpha15\TestHTMLTemplateJS.htm")
Dim margin As New Html.Drawing.Margin(36, 45, 36, 45)
Dim docRenderingOptions As New Html.Rendering.Doc.DocRenderingOptions
docRenderingOptions.PageSetup.AnyPage = New Html.Drawing.Page(margin)
Using device As New Html.Rendering.Doc.DocDevice(docRenderingOptions, "C:\InfoEdSVN\Internal\Alpha15\AsposeHtmldocx.docx")
Using htmlrenderer As New Html.Rendering.HtmlRenderer
Using htmlDocument As New Html.HTMLDocument("C:\InfoEdSVN\Internal\Alpha15\TestHTMLTemplateJS.htm")
Let me know if you have questions about the requirements.
TestHTMLTemplateJS.7z (4.1 KB)
asposeWordsDocx.docx (25.8 KB)
AsposeHtmldocx.docx (68.5 KB)