Version

AddSectionHeaderFooter(SectionHeaderFooterParts,SectionProperties) Method

Adds headers and/or footers to the specified section of the document.
Syntax
'Declaration
 
Public Overloads MustOverride Function AddSectionHeaderFooter( _
   ByVal parts As SectionHeaderFooterParts, _
   ByVal sectionProperties As SectionProperties _
) As SectionHeaderFooterWriterSet
public abstract SectionHeaderFooterWriterSet AddSectionHeaderFooter( 
   SectionHeaderFooterParts parts,
   SectionProperties sectionProperties
)

Parameters

parts
A bitflags value which defines the header and/or footer parts to be included in the section.
sectionProperties
A SectionProperties instance which contains the properties for the document section in which the headers/footers will appear. When null is specified, headers/footers are created for the final section, with the section properties being defined by the instance returned from the FinalSectionProperties property.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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