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

Free Support Forum - aspose.com

How to generate Table Of Content

I have merged multiple documents into one. Now I have to create Table of Content for this new document. How can I do it. Please help.

Thanks for your inquiry. Please see the following link to learn how to insert Table of Contents into the document
But note that Aspose.Words doesn’t update TOCfield so you should update fields inside the document manually (ctrl+A and F9). Also you can use macro to update fields. See the following link to learn more.
Best regards.