
The IfField class implements the MS Word specific IF field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Introduced: 15.0.
[C#]
public sealed class IfField : MailMergeFieldAdapter
[Visual Basic]
Public NotInheritable Class IfField
| Constructor | Description | |
| DocumentServer.Fields.IfField | Initializes a new instance of the IfField class. |
| Property | Description | |
| Expression1 | Gets and sets the first expression text that should be compared. | |
| Expression2 | Gets and sets the second expression text that should be compared to Expression1. | |
| FalseText | Gets and sets the text that should be displayed when the comparison is false. | |
| FieldValue | Gets or sets the field's value of the field that has been specified in Expression1. | |
| Operator | Gets and sets the displayed text of the field. | |
| PreserveFormatting | Specifies whether the field's formatting should be preserved. | |
| Text | Gets and sets the displayed text of the field. | |
| TrueText | Gets and sets the text that should be displayed when the comparison is true. |
| Method | Description | |
| ShowDialog | Opens the specific field options dialog box. |