TX Text Control .NET Server

Javascript: SubTextPartEventArgs.length Property

Property|Introduced in 24.0

Description

The length of the SubTextPart in characters.

Syntax

<number> SubTextPartEventArgs.length

Examples

The following example demonstrates SubTextPartEventArgs.length in a practical document-editing workflow. The length of the SubTextPart in characters.

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