TX Text Control .NET Server

Javascript: UserDictionaryInfo.length Property

Property|Introduced in 25.0

Description

The number of words the user dictionary contains.

Syntax

<number> UserDictionaryInfo.length

Examples

The following example demonstrates UserDictionaryInfo.length in a practical document-editing workflow. The number of words the user dictionary contains.

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