TableOfContents Members (Word)
Represents a single table of contents in a document. The TableOfContents object is a member of the TablesOfContents collection. The TablesOfContents collection includes all the tables of contents in a document.
Methods
Name |
Description |
---|---|
Deletes the specified table of contents. |
|
Updates the entries shown in a table of contents. |
|
Updates the page numbers for items in the specified table of contents. |
Properties
Name |
Description |
---|---|
Returns an Application object that represents the Microsoft Word application. |
|
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
|
Returns a HeadingStyles object that represents additional styles used to compile a table of contents or table of figures (styles other than the Heading 1 – Heading 9 styles). Read-only. |
|
Returns or sets whether page numbers in a table of contents or a table of figures should be hidden when publishing to the Web. Read/write Boolean. |
|
True if page numbers are included in the table of contents. Read/write Boolean. |
|
Returns or sets the ending heading level for a table of contents or table of figures. Read/write Long. |
|
Returns an Object that represents the parent object of the specified TableOfContents object. |
|
Returns a Range object that represents the portion of a document that is contained within the specified table of contents. |
|
True if page numbers are aligned with the right margin in a table of contents. Read/write Boolean. |
|
Returns or sets the character between entries and their page numbers in an index, table of authorities, table of contents, or table of figures. Read/write WdTabLeader. |
|
Returns or sets a one-letter identifier that's used to build a table of contents from TOC fields. Read/write String. |
|
Returns or sets the starting heading level for a table of contents. Read/write Long. |
|
True if Table of Contents Entry (TC) fields are used to create a table of contents or a table of figures. Read/write Boolean. |
|
True if built-in heading styles are used to create a table of contents. Read/write Boolean. |
|
Returns or sets whether entries in a table of contents should be formatted as hyperlinks when publishing to the Web. Read/write Boolean. |