|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Returns a PageNumber object that represents page numbers added to a header or footer in a section.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
- Type: System.Object%
Optional Object. False to make the first-page header and the first-page footer different from the headers and footers on all subsequent pages in the document. If FirstPage is set to False, a page number isn't added to the first page. If this argument is omitted, the setting is controlled by the DifferentFirstPageHeaderFooter property.
Return ValueType: Microsoft.Office.Interop.Word.PageNumber