Text Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets and sets the text of the form field.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses FormFieldAdapter.Text to replace the form field adapter's displayed content. The configured value is checked before the workflow continues.
formFieldAdapter.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(formFieldAdapter.Text))
{
Console.WriteLine($"Text: {formFieldAdapter.Text}");
}formFieldAdapter.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(formFieldAdapter.Text) Then
Console.WriteLine($"Text: {formFieldAdapter.Text}")
End If