TXTextControl.TextPart.selection Property

The getter returns an object of type Selection. The setter changes the selection to a given start position and a given length using an object of type SelectionBounds.

Syntax

[JavaScript]
<Selection> TextPart.selection {
    get: function () { ... }
    set: function (<SelectionBounds> bounds) { ... }
}