I need a very simple ‘hello world’ example of a conversion from docx to html.
This message was posted using Page2Forum from Aspose.Words for .NET - Documentation
I need a very simple ‘hello world’ example of a conversion from docx to html.
This message was posted using Page2Forum from Aspose.Words for .NET - Documentation
Hello
Thanks for your inquiry. Yes, of course, please see the following code:
Document doc = new Document("in.docx");
doc.Save("out.html", SaveFormat.Html);
Also, please follow the link to learn details about how Aspose.Words saves document in the HTML/XHTML and MHTML formats:
https://docs.aspose.com/words/net/save-in-html-xhtml-mhtml-formats/
Best regards,