We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Controlling text format for table of contents

Thread ID:





109528 Jun 18,2013 02:29 PM UTC Jun 19,2013 12:34 PM UTC WinForms 1
Tags: DocIO
Administrator [Syncfusion]
Asked On June 18, 2013 02:29 PM UTC

Hi All,

I wanted to be able to control the text format of the table of contents object but can't find any properties that would allow me to do this.  Specifically I would like to change the TextColor.



Prasanth M B [Syncfusion]
Replied On June 19, 2013 12:34 PM UTC

Hi Jonathan,

Thank you for using Syncfusion products.

MS Word updates the formatting’s of the table of contents based on Built in TOC styles namely TOC 1, TOC 2, TOC 3, etc. To change the formatting’s of the table of contents, we need to define/update the formatting’s in Built in TOC styles (TOC 1, TOC 2, TOC 3, etc.)

We have created a sample for your requirement to apply text format to the table of contents. Kindly find the sample from the below Attachment.

Please let us know if you have any questions.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon