DS Server

Javascript: TableOfContentsCollectionAddParams.hasPageNumbers Property

Property|Introduced in 29.0

Description

Optional. Specifies whether the table of contents contains page numbers.

Syntax

<boolean> TableOfContentsCollectionAddParams.hasPageNumbers

Examples

The following example demonstrates TableOfContentsCollectionAddParams.hasPageNumbers in a practical document-editing workflow. Optional. Specifies whether the table of contents contains page numbers.

function inspectHasPageNumbers(tableOfContentsCollectionAddParams) {
    const hasPageNumbers = tableOfContentsCollectionAddParams.hasPageNumbers;
    console.log("has page numbers:", hasPageNumbers);
}