Building a Document Navigation Index with TX Text Control .NET for Windows Forms
The ParagraphStyle class in TX Text Control .NET for Windows Forms enables developers to extract document headings and subheadings into a TreeView-based navigation index. Users click any heading entry in the tree to jump directly to that corresponding section in the document.

In this article, I am going to you how to use the ParagraphStyle class to build a line based document index. The end-user will be able to load a document, which contains styles for a heading or a subheading.
The headings of the document are used to generate a skeleton of the document. Clicking on the headings in the treeView then leads the end-user to the specific part of the document.
Related Posts
Create a Table of Contents in Windows Forms using C#
This article explains how to create a table of contents in Windows Forms using the ribbon or programmatically. Creating a table of contents is required to organize large documents.
Two Ways to Restart Numbered Lists in TX Text Control
In TX Text Control, numbered lists are continued by default and need to be reset when required. There is more than one way if you want to restart numbered lists in a document. In this article, two…
Paste Special: The Easy Way to Implement
TX Text Control version 15.0 introduced a ClipboardFormat parameter on the Paste method, enabling native Paste Special functionality. The GetClipboardFormats method returns all available clipboard…
How to Remove All Section Breaks in a Document?
TX Text Control 15.0 adds per-section page column support alongside existing section breaks. To remove all section breaks programmatically, iterate through SectionCollection using…
Batch Printing: How to Print Documents in One Print Job
Batch printing multiple documents as a single print job using TX Text Control relies on a .NET PrintDocument with PrintPage and QueryPageSettings events. Each page is rendered individually via the…
