TX Text Control .NET Server

ShowZoomTrackBar 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 displays a track bar instead of a simple number to show and to set the zooming factor.

Syntax

public bool ShowZoomTrackBar { get; set; }

Examples

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

statusBarViewGenerator.ShowZoomTrackBar = true;
if (statusBarViewGenerator.ShowZoomTrackBar)
{
    Console.WriteLine("Status Bar View Generator: Show Zoom Track Bar is enabled.");
}