SBSuriya Balamurugan Syncfusion Team October 31, 2022 01:52 PM
From the given details, we have found that your requirement is to insert an HTML
string with formatting in a Word document using DocIO.
To achieve your requirement, we suggest you to use InsertXHTML
method to insert or add the HTML string into a Word document as per your requirement.
Please refer the below code snippet to achieve your requirement,
document = new WordDocument();
section and a paragraph in new Word document.
to be inserted.
string htmlstring = "<b>Hello</b>";
Html string to first paragraph in the document.