Inserts a new object of the type Application
public bool Add(ApplicationField applicationField);
Public Function Add(ByVal applicationField As ApplicationField) As Boolean
Parameter | Description |
---|---|
application |
Specifies the field to add. |
The return value is true, if the field could be added. Otherwise it is false.
This method inserts a new object of the type Application
TXTextControl.ApplicationField myAppField = new TXTextControl.ApplicationField(
TXTextControl.ApplicationFieldFormat.MSWord,
"MERGEFIELD",
"New ApplicationField",
new string[] { "FieldName" });
// using the 'Add' method
textControl1.ApplicationFields.Add(myAppField);
Dim myAppField As TXTextControl.ApplicationField =
New TXTextControl.ApplicationField( _
TXTextControl.ApplicationFieldFormat.MSWord, _
"MERGEFIELD", _
"New ApplicationField", _
New String() {"FieldName"})
' using the 'Add' method
TextControl1.ApplicationFields.Add(myAppField)