TX Text Control .NET Server

ShowZoom 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 current zoom factor.

Syntax

public bool ShowZoom { get; set; }

Examples

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

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