TX Text Control .NET Server

Javascript: TableOfContentsInfo.number Property

Property|Introduced in 29.0

Description

The table of contents' one-based number in the document.

Syntax

<number> TableOfContentsInfo.number

Examples

The following example demonstrates TableOfContentsInfo.number in a practical document-editing workflow. The table of contents' one-based number in the document.

function inspectNumber(tableOfContentsInfo) {
    const number = tableOfContentsInfo.number;
    console.log("number:", number);
}