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 IfField.Expression1 to configure expression1 as part of the if field workflow. The configured value is checked before the workflow continues.
ifField.Expression1 = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ifField.Expression1))
{
Console.WriteLine($"Expression1: {ifField.Expression1}");
}ifField.Expression1 = "Quarterly report"
If Not String.IsNullOrWhiteSpace(ifField.Expression1) Then
Console.WriteLine($"Expression1: {ifField.Expression1}")
End If