Free Support Forum - aspose.com

Aspose.words DOCX support

I have not been able to find a clear definition of Aspose.words support for opening DOCX files and converting to HTML and to text.



Can you confirm that this is supported, and point me to the specific documentation on implementing?



Thanks

Hello

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Yes, of course, you can convert DOCX document to HTML using Aspose.Words:

Document doc = new Document("in.docx");

doc.Save("out.html", SaveFormat.Html);

Please follow the link to learn details about how Aspose.Words saves document in the HTML/XHTML and MHTML formats:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/save-in-the-html-format.html

If you would like to get text data from the document, see the following link:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/howto-extract-text-only.html

Best regards,