TX Text Control .NET Server

Javascript: CommentedTextInfo.length Property

Property|Introduced in 30.0

Description

The comment's length in characters.

Syntax

<Number> CommentedTextInfo.length

Examples

The following example demonstrates CommentedTextInfo.length in a practical document-editing workflow. The comment's length in characters.

function inspectLength(commentedTextInfo) {
    const length = commentedTextInfo.length;
    console.log("length:", length);
}