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

Free Support Forum - aspose.com

Regarding TOC

I have shared sample document to generate TOC in document format test567.docx (13.9 KB)…I have shared format document for TOC Is that possible to generate

If possible how to do in csharp code

@siva1950 Please see our documentation to learn how to work with TOC in Aspose.Words:

@alexey.noskov I have attached sample document regarding TOC .In image it shows 1 alone show separate toc.
can You help me on that which scenario it has been happend or any c# code changes should I need to change for this .

Kindly give some understandanding for Toc generated this document

@siva1950 To avoid this a paragraph break should be inserted after the TOC. Please see the following code:

builder.InsertTableOfContents("\\o \"1-3\" \\h \\z \\u");