TX Text Control .NET Server

Javascript: SubTextPartEventArgs.start Property

Property|Introduced in 24.0

Description

The 1-based position of the first character which belongs to the subtextpart.

Syntax

<number> SubTextPartEventArgs.start

Examples

The following example demonstrates SubTextPartEventArgs.start in a practical document-editing workflow. The 1-based position of the first character which belongs to the subtextpart.

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