TXTextControl.Selection.Length Property

Returns or sets the number of characters selected. If this property is zero, no text is selected and the Start property determines the current text input position. To select parts of a table, the Table.Select, TableRow.Select, TableColumn.Select and TableCell.Select methods must be used.


public int Length { get; set; }
[Visual Basic]
Public Property Length() As Integer


If the Start property is set to zero and the Length property is set to int.MaxValue all the text is selected.


Runtime only.

See Also