Removes a field of the type ApplicationField from a TX Text Control document.

Remove(ApplicationField)

public bool Remove(ApplicationField applicationField);
Public Function Remove(ByVal applicationField As ApplicationField) As Boolean

Remove(ApplicationField, Bool)

public bool Remove(ApplicationField applicationField, bool keepText);
Public Function Remove(ByVal applicationField As ApplicationField, ByVal keepText As Boolean) As Boolean

Parameters

Parameter Description
applicationField Specifies the field to remove.
keepText If this parameter is set to true, the field is removed without deleting its visible text. Otherwise, the field's text is also deleted.

Return Value

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