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

Free Support Forum - aspose.com

How to add the Table of content to an existing document

How to add the Table of content to an existing document. Kindly help me asap.
Pease find the below input and expected output.
Expected Output Table of Contents.docx (16.4 KB)
Input_TOC.docx (15.3 KB)

@Princeshivananjappa Please see our documentation to learn how to insert TOC programmatically:
https://docs.aspose.com/words/net/working-with-table-of-contents/