TX Text Control .NET Server

Javascript: CommentedTextInfo.start Property

Property|Introduced in 30.0

Description

The comment's 1-based start position in the document.

Syntax

<Number> CommentedTextInfo.start

Examples

The following example demonstrates CommentedTextInfo.start in a practical document-editing workflow. The comment's 1-based start position in the document.

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