TX Text Control .NET Server

ZoomFactor Property

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

Description

Gets or sets the zoom factor, in percent, with which the View object generates the image.

Syntax

public int ZoomFactor { get; set; }

Examples

The following example uses View.ZoomFactor to set a comfortable document zoom level. The configured value is checked before the workflow continues.

view.ZoomFactor = 125;
Console.WriteLine($"Zoom Factor used by View: {view.ZoomFactor}");

Limitations

The zoom factor must be between 10 and ushort.MaxValue percent.