Free Support Forum -

Hello world example?

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


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:

Best regards,