DS Server

Javascript: TableOfContentsInfo.maximumStructureLevel Property

Property|Introduced in 29.0

Description

The maximum structure level for this table of contents.

Syntax

<number> TableOfContentsInfo.maximumStructureLevel

Examples

The following example demonstrates TableOfContentsInfo.maximumStructureLevel in a practical document-editing workflow. The maximum structure level for this table of contents.

function inspectMaximumStructureLevel(tableOfContentsInfo) {
    const maximumStructureLevel = tableOfContentsInfo.maximumStructureLevel;
    console.log("maximum structure level:", maximumStructureLevel);
}