WPF- HTML- .DOT template


I created a simple WPF editor with font options,… we have prepared templates in .DOT (Word templates). Is there possible to send in HTML converted text from WPF editor to Word, including our Word template?

Thank you!

Hi Primoz,

Thanks for your inquiry. Yes, you can convert HTML to MS Word document by using Aspose.Words.

Document doc = new Document(MyDir + "in.html");
doc.Save(MyDir + "out.docx");

Please note that Aspose.Words for .NET is a class library that enables your applications to perform a great range of document processing tasks. Aspose.Words supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word®. For more information, please go through the documentation below:

Basically, Aspose.Words is a DLL (Aspose.Words.dll) which provides you the API for working with a document object model. I suggest you please read following documentation links for your kind reference.