EmptyWidth Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
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}")