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

Free Support Forum - aspose.com

Renaming a section


we have a tree structure, each node in the tree denotes a word section document. so when I rename the node in the tree, the section name also should get updated to the new name automatically. how can I change the section name in the word document. how To identify the text as section name.I have a new section name and old section name. I would love to know this feature.




This message was posted using Aspose.Live 2 Forum

Hi there,

Thanks for your inquiry.

I think you can achieve what you are looking for by using Document variables. You can find details on this page here. You could create a variable like "Section1" and have the value as the corresponding name.

If this does not help could you please attach your code and template document here for testing and I will provide you with some further information.