Hi,
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.
Cheers
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Hi
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.");
doc.Save("out.doc");
Best regards,