PageNumbers Members

Include Protected Members
Include Inherited Members

A collection of PageNumber objects that represent the page numbers in a single header or footer.

The PageNumbers type exposes the following members.


  Name Description
Public method Add Returns a PageNumber object that represents page numbers added to a header or footer in a section.
Public method GetEnumerator (Inherited from IEnumerable.)



  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property ChapterPageSeparator Returns or sets the separator character used between the chapter number and the page number. Can be one of the WdSeparatorType constants.
Public property Count Returns the number of items in the specified collection.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DoubleQuote True if Microsoft Word encloses the specified PageNumbers object in double quotation marks (").
Public property HeadingLevelForChapter Returns or sets the heading level style that's applied to the chapter titles in the document. Can be a number from 0 (zero) through 8, corresponding to heading levels 1 through 9.
Public property IncludeChapterNumber True if a chapter number is included with page numbers or a caption label.
Public property Item Returns an individual object in a collection.
Public property NumberStyle Returns or sets the number style for the PageNumbers object.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property RestartNumberingAtSection True if page numbering starts at 1 again at the beginning of the specified section.
Public property ShowFirstPageNumber True if the page number appears on the first page in the section.
Public property StartingNumber Returns or sets the starting note number, line number, or page number.


See Also


PageNumbers Interface

Microsoft.Office.Interop.Word Namespace