We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Import HTML


Is there any way in aspose to import HTML tags such as or into a word document and have them display in their word counterparts?

For example, if I have the following HTML:

This is Bold Text.

It would display in word:

This is Bold Text.


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


Thanks for your interest in Aspose.Words. Of course you can do it. Please try using the following code:

// Create document.

Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);

// Insert HTML

builder.InsertHtml("This is Bold Text.");


Best regards,