I can access/print a content in a document with the following code:
run = child.as_run()
print(run.text)
How can i edit the content and save the same document ?
I can access/print a content in a document with the following code:
run = child.as_run()
print(run.text)
How can i edit the content and save the same document ?
@SoumyaJ Actually there a a lot of ways to edit MS Word document using Aspose.Words. In your case, if you need to edit text of a single Run
node, you can use this code:
run = child.as_run()
run.text = "This is new Run's text"
You can use bookmarks in MS Word documents as placeholders.
If you need to generate a report from template, you can use LINQ Reporting Engine to achieve this.