Converting HTML document with embedded images to .doc

Is there an easy way to convert an HTML file to .doc, including embedded images? I have an HTML file, with <img> tags that link to images hosted on a server <img src="http://blahblahblah" />. I need to convert the HTML file to a self-contained .doc, with the images embedded in the Word file. What’s the easiest way to do that?

Hi,

Thank you for considering Aspose.

MS Word stores the images inside the document file so simply pass your HTML to the Document constructor and then save it as a .doc file:

Document doc = new Document(“MyDocument.html”);
doc.Save(“MyDocument.doc”);