EmptyWidth Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the horizontal extension, in twips, of the form field, when it is empty.
Syntax
public int EmptyWidth { get; set; }Public Property EmptyWidth As IntegerExamples
The following example adds a customer-name input field to a form by using TextFormField.EmptyWidth.
TextFormField textFormField = new(20) { Name = "CustomerName" };
textControl.FormFields.Add(textFormField);
textFormField.EmptyWidth = 100;
Console.WriteLine($"Empty Width used by Text Form Field: {textFormField.EmptyWidth}");Dim textFormField As New TextFormField(20) With { .Name = "CustomerName" }
textControl.FormFields.Add(textFormField)
textFormField.EmptyWidth = 100
Console.WriteLine($"Empty Width used by Text Form Field: {textFormField.EmptyWidth}")