0 out of 1 rated this helpful - Rate this topic

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)
[GuidAttribute("00020987-0000-0000-C000-000000000046")]
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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.