'Declaration Public Enum SectionHeaderFooterParts Inherits System.Enum
public enum SectionHeaderFooterParts : System.Enum
Member | Description |
---|---|
All | Combines the HeaderAllPages, FooterAllPages, HeaderFirstPageOnly, and FooterFirstPageOnly settings. |
FooterAllPages | A footer which appears on all pages of the section. |
FooterFirstPageOnly | A footer which appears only on the first page of the section. |
HeaderAllPages | A header which appears on all pages of the section. |
HeaderFirstPageOnly | A header which appears only on the first page of the section. |
None | No headers or footers should appear in the section. |
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.
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