The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PageNumber Interface 

Represents a page number in a header or footer.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in

Public Class ageNumberImplementation
	Implements PageNumber
End Class
Dim ageNumberImplementation1 As New ageNumberImplementation()

public interface PageNumber
public interface PageNumber
public interface PageNumber

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

Use PageNumbers(index), where index is the index number, to return a single PageNumber object. In most cases, a header or footer will contain only one page number, which is index number 1.

Use the Add method to add a page number (a PAGE field) to a header or footer.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions