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

Free Support Forum - aspose.com

Styling of the T.O.C

Hi


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

Hello

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

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentbuilder.inserttableofcontents.html

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

http://office.microsoft.com/en-us/word-help/field-codes-toc-table-of-contents-field-HP005186201.aspx

Hope this helps.

Best regards,