TXTextControl.Selection Constructor

Creates a new instance of the Selection class.


Creates an empty Selection object with all properties set to their default values.

public Selection();
[Visual Basic]
Public Sub New()

Selection(Int32, Int32)

Creates an instance of the Selection class with the specified start value and length. All other properties are set to their default values.

public Selection(int start, int length);
[Visual Basic]
Public Sub New(ByVal start As Integer, ByVal length As Integer)
Parameter Description

Specifies the selection's start position.


Specifies the number of selected characters.

See Also