Expression1 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 first expression text that should be compared. To use this field in the MailMerge component, this property must be a valid field name.
Syntax
public string Expression1 { get; set; }Public Property Expression1 As StringExamples
The following example uses NextIfField.Expression1 to configure expression1 as part of the next if field workflow. The configured value is checked before the workflow continues.
nextIfField.Expression1 = "Quarterly report";
if (!string.IsNullOrWhiteSpace(nextIfField.Expression1))
{
Console.WriteLine($"Expression1: {nextIfField.Expression1}");
}nextIfField.Expression1 = "Quarterly report"
If Not String.IsNullOrWhiteSpace(nextIfField.Expression1) Then
Console.WriteLine($"Expression1: {nextIfField.Expression1}")
End If