Free Support Forum - aspose.com

Convert Docx to Html

Hi,

Can Aspose components convert the word document to Html Documents ? Upon conversion , will the link between the embedded object icon and the embedded object remain tagged?

Thanks

Andy


This message was posted using Aspose.Live 2 Forum

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

Thank you for your interest in Aspose products.

DOCX documents can be converted to HTML with Aspose.Words. But embedded objects are not retained after conversion. You can get only images from them.

Regards,

Hi,

Thanks for the information.

Can I have the code sample on how to convert from docx to html using the aspose.Words component

Thanks

Andy

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

Thanks for your inquiry. You can use the following code:

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

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

Best regards.