Represents an MS Word specific IFFIELD field. Is used as a parameter for the addMergeField method.

Syntax

TXTextControl.IfField

Introduced: X15.

Properties

Property Description
expression1 Specifies the first expression text that should be compared.
expression2 Specifies the second expression text that should be compared to Expression1.
falseText Specifies the text that should be displayed when the comparison is false.
operator Specifies the comparison operator.
preserveFormatting Specifies whether the field's formatting should be preserved.
trueText Specifies the text that should be displayed when the comparison is true.