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

Free Support Forum - aspose.com

Styling of the T.O.C


I do appreciate that the capabilities of the “InsertTableOfContents” functionality is limited in scope, but non the less, I would like to try and get our table of contents to appear as much as possible as it does in the spec.

I’m not too clear as what the parameter of the “InsertTableOfContents” method means and what different options I have, so I would appreciate if you could help me setting it up.



Thanks for your interest in Aspose.Words. Please see the following link to learn more about InsertTableOfContents method:


Also please see this page to read more about the TOC field switches:


Hope this helps.

Best regards,