Free Support Forum - aspose.com

Inserting HTML fragments into a document

Hello.

Can you please explain or provide an example of how to insert HTML fragments into a document using Aspose.Words for .NET? This is listed on the aspose website under "Programming the Document Object Model"?

Thank you.

Denise

http://www.aspose.com/categories/.net-components/aspose.words-for-.net/default.aspx

Hi

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

Thanks for your request. You should use DocumentBuilder.InsertHtml method to achieve this. Please see the following link for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net-and-java/aspose.words.documentbuilder.inserthtml.html

Best regards.