TocPr
type TocPr = object
Description
Table of contents properties.
Properties
- ShowPageNums
boolean
true Specifies whether to show page numbers in the table of contents.
- RightAlgn
boolean
true Specifies whether to right-align page numbers in the table of contents.
The leader type in the table of contents.
- FormatAsLinks
boolean
true Specifies whether to format the table of contents as links.
Specifies whether to generate the table of contents from the outline levels or the specified styles.
The table of contents style type.
Try It
var oTocPr = {"ShowPageNums": true, "RightAlgn": true, "LeaderType": "dot", "FormatAsLinks": true, "BuildFrom": {"OutlineLvls": 9}, "TocStyle": "standard"};
oDocument.AddTableOfContents(oTocPr);