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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Controlling text format for table of contents

Thread ID:

Created:

Updated:

Platform:

Replies:

109528 Jun 18,2013 02:29 PM UTC Jun 19,2013 12:34 PM UTC Windows Forms 1
loading
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.

Thanks!

--Jonathan

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.

Regards,
Prasanth.



TOC_fb6cb2fb.zip

CONFIRMATION

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.

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

;