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