
Removes a text field from a Text Control document.
[C#]
public bool Remove(TextField textField);
public bool Remove(TextField textField, bool keepText);
[Visual Basic]
Public Function Remove(ByVal textField As TextField) As Boolean
Public Function Remove(ByVal textField As TextField, ByVal keepText As Boolean) As Boolean
| 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. |
The return value is true, if the text field could be removed. Otherwise it is false.