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.

Syntax

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

Remarks

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

Limitations

Runtime only.

See Also