TX Text Control .NET Server

ShowSectionCounter Property

Property|Introduced in 21.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the status bar shows the number of sections the document consists of.

Syntax

public bool ShowSectionCounter { get; set; }

Examples

The following example uses StatusBarViewGenerator.ShowSectionCounter to configure show section counter as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

statusBarViewGenerator.ShowSectionCounter = true;
if (statusBarViewGenerator.ShowSectionCounter)
{
    Console.WriteLine("Status Bar View Generator: Show Section Counter is enabled.");
}