TX Text Control .NET Server

NextIfField Object

Object|Introduced in 25.0

Description

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

Syntax

TXTextControl.NextIfField

Examples

The following example demonstrates TXTextControl.NextIfField in a practical document-editing workflow. It represents an MS Word specific NEXTIF field. Is used as a parameter for the addMergeField method.

function inspectNextIfField(nextIfField) {
    console.log("TXTextControl.NextIfField object:", nextIfField);
}

Members

Properties

PropertyDescription
expression1Specifies the first expression text that should be compared. This property must be a valid field name.
expression2Specifies the second expression text that should be compared to Expression1.
operatorSpecifies the comparison operator. Possible values are defined in TXTextControl.RelationalOperator.
preserveFormattingSpecifies whether the field's formatting should be preserved.
textSpecifies the initial text of the field. Let this property be null to use the default text "NEXTIF".