TX Text Control .NET Server

Javascript: TableOfContentsInfo.hasRightAlignedPageNumbers Property

Property|Introduced in 29.0

Description

Specifies whether the page numbers in the table of contents are right-aligned.

Syntax

<boolean> TableOfContentsInfo.hasRightAlignedPageNumbers

Examples

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);
}