TXTextControl.MergeField Object

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

Introduced: 25.0.

Syntax

[JavaScript]
{
    name: <string>,
    text: <string>,
    textFormat: <integer>,
    textBefore: <string>,
    textAfter: <string>,
    dateTimeFormat: <string>,
    numericFormat: <string>
    preserveFormatting: <boolean>
}

Properties

Property Description
dateTimeFormat Specifies a string format which is applied to date / time values.
name Specifies the name of the field.
numericFormat Specifies a string format which is applied to numeric values.
preserveFormatting Specifies whether the field's formatting should be preserved.
text Specifies the text of the field.
textAfter Specifies the text of the field that is displayed after the field's text.
textBefore Specifies the text of the field that is displayed before the field's text.
textFormat Specifies the text format of the field.

See Also