TX Text Control .NET for Windows Forms Documentation

TextFieldCollection.Remove Method

Removes a text field from a Text Control document.

Syntax

[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
ParameterDescription
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.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now