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