Javascript: TableOfContentsCollectionAddParams.hasPageNumbers Property
Description
Optional. Specifies whether the table of contents contains page numbers.
Syntax
<boolean> TableOfContentsCollectionAddParams.hasPageNumbersExamples
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);
}