Version

SectionHeaderFooterParts Enumeration

Constants which describe the header and footer parts that will be created in a document section when used by the AddSectionHeaderFooter method.
Syntax
'Declaration
 
Public Enum SectionHeaderFooterParts 
   Inherits System.Enum
public enum SectionHeaderFooterParts : System.Enum 
Members
MemberDescription
AllCombines the HeaderAllPages, FooterAllPages, HeaderFirstPageOnly, and FooterFirstPageOnly settings.
FooterAllPagesA footer which appears on all pages of the section.
FooterFirstPageOnlyA footer which appears only on the first page of the section.
HeaderAllPagesA header which appears on all pages of the section.
HeaderFirstPageOnlyA header which appears only on the first page of the section.
NoneNo headers or footers should appear in the section.
Remarks

This enumeration is decorated with the System.Flags attribute, which means that the constants defined herein can be combined using the logical OR operator. For example, to specify that a document section should contain both a header and a footer, on all pages, the values 'HeaderAllPages' (0x0001) and 'FooterAllPages' (0x0002) would be combined in a bitwise manner to produce a numerical value of 0x0003, resulting in both a header and a footer on all pages in the section.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also