Partager via


TableOfContents.HidePageNumbersInWeb Property (Word)

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.

Syntax

expression .HidePageNumbersInWeb

expression A variable that represents a TableOfContents collection.

Example

This example hides page numbers in the first table of contents if the document is to be published to the Web.

ActiveDocument.TableOfContents(1).HidePageNumbersInWeb = True

See Also

Concepts

TableOfContents Object

TableOfContents Object Members