ZoomFactor Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public Property ZoomFactor As IntegerExamples
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}");view.ZoomFactor = 125
Console.WriteLine($"Zoom Factor used by View: {view.ZoomFactor}")Limitations
The zoom factor must be between 10 and ushort.MaxValue percent.