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

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

https://products.aspose.com/words/

Hi

Thanks for your request. You should use DocumentBuilder.InsertHtml method to achieve this. Please see the following link for more information:
https://reference.aspose.com/words/net/aspose.words/documentbuilder/inserthtml/
Best regards.