Removes a text field from a Text Control document.

Remove(TextField)

public bool Remove(TextField textField);
Public Function Remove(ByVal textField As TextField) As Boolean

Remove(TextField, Bool)

public bool Remove(TextField textField, bool keepText);
Public Function Remove(ByVal textField As TextField, ByVal keepText As Boolean) As Boolean

Parameters

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

Return Value

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