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

Syntax

TXTextControl.MergeField

Introduced: X15.

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.

Further Reading

Learn more about the Javascript: TXTextControl.MergeField Object in the Text Control Blog: