Removes a text field from a Text Control document.
public bool Remove(TextField textField);
Public Function Remove(ByVal textField As TextField) As Boolean
public bool Remove(TextField textField, bool keepText);
Public Function Remove(ByVal textField As TextField, ByVal keepText As Boolean) As Boolean
Parameter | Description |
---|---|
text |
Specifies the text field to remove. |
keep |
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.