TX Text Control Blog

Creating a table of contents (TOC) using TX Text Control

Blogged by Björn Meyer on February 2, 2009 and tagged with sample, .net, toc, table of contents.

An often requested feature of TX Text Control is a dynamically created table of contents (TOC) like offered in MS Word. Based on the style interface of TX Text Control, this is possible and not that tricky.

We just published a new sample that shows how to create a basic table of contents using TX Text Control.

This sample implements a simple class to parse the text for potential entries in order to create the table of contents. Additionally, the toc class provides some public values to configure the table of contents.

Read the complete article in our source code library:

Creating a table of contents

 
 
User Contributed Note

User Contributed Note by giovanni meccariello on April 24, 2009 at 12:46:39 PM CEST

hi, I'm still testing the trial version to see if it makes everything that we serve. I found an error on undo after creating a TOC index. there are some solutions?
 

Products

Support

Downloads

Corporate

Buy Now