PageNumber Interface 

Represents a page number in a header or footer.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

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

Syntax

Public Interface PageNumber
public interface PageNumber
public interface class PageNumber
public interface PageNumber
public interface PageNumber

Remarks

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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

PageNumber Members