Inserts a new object of the type ApplicationField at the current input position.

Add(ApplicationField)

public bool Add(ApplicationField applicationField);

Parameters

Parameter Description
applicationField Specifies the field to add.

Return Value

The return value is true, if the field could be added. Otherwise it is false.

Examples

This method inserts a new object of the type ApplicationField at the current input position.

TXTextControl.ApplicationField myAppField = new TXTextControl.ApplicationField(
TXTextControl.ApplicationFieldFormat.MSWord,
"MERGEFIELD",
"New ApplicationField",
new string[] { "FieldName" });

// using the 'Add' method
textControl1.ApplicationFields.Add(myAppField);