Поделиться через


PageNumbers Members (Word)

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

Methods

Name

Description

Add

Returns a PageNumber object that represents page numbers added to a header or footer in a section.

Item

Returns an individual PageNumber object in a collection.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

ChapterPageSeparator

Returns or sets the separator character used between the chapter number and the page number. Read/write WdSeparatorType.

Count

Returns a Long that represents the number of page numbers in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DoubleQuote

True if Microsoft Word encloses the specified PageNumbers object in double quotation marks ("). Read/write Boolean.

HeadingLevelForChapter

Returns or sets the heading level style that's applied to the chapter titles in the document. Read/write Long.

IncludeChapterNumber

True if a chapter number is included with page numbers or a caption label. Read/write Boolean.

NumberStyle

Returns or sets a WdPageNumberStyle constant that represents the number style. Read/write.

Parent

Returns an Object that represents the parent object of the specified PageNumbers object.

RestartNumberingAtSection

True if page numbering starts at 1 again at the beginning of the specified section. Read/write Boolean.

ShowFirstPageNumber

True if the page number appears on the first page in the section. Read/write Boolean.

StartingNumber

Returns or sets the starting note number, line number, or page number. Read/write Long.