Javascript: TableOfContentsInfo.hasPageNumbers Property
Description
Specifies whether the table of contents contains page numbers.
Syntax
<boolean> TableOfContentsInfo.hasPageNumbersExamples
The following example demonstrates TableOfContentsInfo.hasPageNumbers in a practical document-editing workflow. It specifies whether the table of contents contains page numbers.
function inspectHasPageNumbers(tableOfContentsInfo) {
const hasPageNumbers = tableOfContentsInfo.hasPageNumbers;
console.log("has page numbers:", hasPageNumbers);
}