TX Text Control .NET Server

ZoomOption Enumeration

Enumeration|Introduced in 24.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Specifies options how to set the zoom factor of a TextControl.

Syntax

public enum ZoomOption

Members

MemberValueDescription
PageWidth2The zoom factor is calculated so that the complete width of a page becomes visible.
TextWidth3The zoom factor is calculated so that the complete text of a line becomes visible.
WholePage1The zoom factor is calculated so that the current visible page becomes completely visible.

Examples

The following example selects the Page Width value from the Zoom Option enumeration and uses it as a documented workflow choice.

ZoomOption value = ZoomOption.PageWidth;
Console.WriteLine($"Using Zoom Option: {value}");

See Also

TextControl.Zoom Method, WPF.TextControl.Zoom Method.