Share via


TableOfContents Object Members

Word Developer Reference

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
Bb257956.methods(en-us,office.12).gif Delete Deletes the specified table of contents.
Bb257956.methods(en-us,office.12).gif Update Updates the entries shown in a table of contents.
Bb257956.methods(en-us,office.12).gif UpdatePageNumbers Updates the page numbers for items in the specified table of contents.

Properties

  Name Description
Bb257956.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257956.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257956.properties(en-us,office.12).gif HeadingStyles 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.
Bb257956.properties(en-us,office.12).gif HidePageNumbersInWeb 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.
Bb257956.properties(en-us,office.12).gif IncludePageNumbers True if page numbers are included in the table of contents. Read/write Boolean.
Bb257956.properties(en-us,office.12).gif LowerHeadingLevel Returns or sets the ending heading level for a table of contents or table of figures. Read/write Long.
Bb257956.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified TableOfContents object.
Bb257956.properties(en-us,office.12).gif Range Returns a Range object that represents the portion of a document that is contained within the specified table of contents.
Bb257956.properties(en-us,office.12).gif RightAlignPageNumbers True if page numbers are aligned with the right margin in a table of contents. Read/write Boolean.
Bb257956.properties(en-us,office.12).gif TabLeader 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.
Bb257956.properties(en-us,office.12).gif TableID Returns or sets a one-letter identifier that's used to build a table of contents from TOC fields. Read/write String.
Bb257956.properties(en-us,office.12).gif UpperHeadingLevel Returns or sets the starting heading level for a table of contents. Read/write Long.
Bb257956.properties(en-us,office.12).gif UseFields True if Table of Contents Entry (TC) fields are used to create a table of contents or a table of figures. Read/write Boolean.
Bb257956.properties(en-us,office.12).gif UseHeadingStyles True if built-in heading styles are used to create a table of contents. Read/write Boolean.
Bb257956.properties(en-us,office.12).gif UseHyperlinks Returns or sets whether entries in a table of contents should be formatted as hyperlinks when publishing to the Web. Read/write Boolean.