TXTextControl.DocumentServer.Fields.MergeField Class

The MergeField class implements the MS Word specific MERGEFIELD field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

Introduced: 15.0.

Syntax

[C#]
public sealed class MergeField : MailMergeFieldAdapter
[Visual Basic]
Public NotInheritable Class MergeField
  Inherits MailMergeFieldAdapter

Constructors

Constructor Description
MergeField Overloaded. Initializes a new instance of the MergeField class.

Properties

Property Description
ApplicationField Gets the adapted ApplicationField of the field. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
DateTimeFormat Specifies a string format which is applied to date / time values.
ID Gets the ID of the specific field through its adapter. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
Length Gets the number of characters in a text field through its adapter. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
Mapped Specifies whether the field is a mapped field.
Name Gets and sets 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. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
Start Gets the first character position (one-based) of the field through its adapter. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
Text Gets and sets the text of the field.
TextAfter Gets and sets the text of the field that is displayed after the field's text.
TextBefore Gets and sets the text of the field that is displayed before the field's text.
TextFormat Gets and sets the text format of the field.
TypeName Gets the field's type name of the specific field through its adapter. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)
VerticalFormatting Specifies whether the field's formatting is vertical.

Methods

Method Description
ShowDialog Opens the specific field options dialog box. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)

Fields

Field Description
FieldAdapter.TYPE_NAME Represents the name of the respective field type. (Inherited from DocumentServer.Fields.MailMergeFieldAdapter.)

See Also