TX Text Control .NET Server

Javascript: SelectionBounds.start Property

Property|Introduced in 24.0

Description

The 0-based start character position of the selection.

Syntax

<number> SelectionBounds.start

Examples

The following example demonstrates SelectionBounds.start in a practical document-editing workflow. The 0-based start character position of the selection.

function inspectStart(selectionBounds) {
    const start = selectionBounds.start;
    console.log("start:", start);
}