TX Text Control .NET for WPF

SizeAuto Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the field is automatically resized or not.

Syntax

public bool SizeAuto { get; set; }

Examples

The following example uses FormCheckBox.SizeAuto to configure size auto as part of the form check box workflow. The configured value is checked before the workflow continues.

formCheckBox.SizeAuto = true;
if (formCheckBox.SizeAuto)
{
    Console.WriteLine("Form Check Box: Size Auto is enabled.");
}

Limitations

This property is not used by the DocumentServer.Web.DocumentViewer component.