TXTextControl.Web.Selection Constructor

Creates a new instance of the Web.Selection class.

Selection()

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

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

Selection(Int32, Int32)

Creates an instance of the Web.Selection class with the specified start value and length.

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

Specifies the selection's start position.

length

Specifies the number of selected characters.

See Also