Text Control

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