Share via


PageNumber Members (Word)

Represents a page number in a header or footer. The PageNumber object is a member of the PageNumbers collection. The PageNumbers collection includes all the page numbers in a single header or footer.

Methods

Name

Description

Copy

Copies the specified page number to the Clipboard.

Cut

Removes the specified object from the document and places it on the Clipboard.

Delete

Deletes the specified page number.

Select

Selects the specified page number.

Properties

Name

Description

Alignment

Returns or sets a WdPageNumberAlignment constant that represents the alignment for the page number. Read/write.

Application

Returns an Application object that represents the Microsoft Word application.

Creator

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

Index

Returns a Long that represents the position of an item in a collection. Read-only.

Parent

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