Method GetHeaderFooter
GetHeaderFooter(Section, HeaderFooterKind, HeaderFooterType)
The section's own header or footer of a type, or null when it has none (it links to the previous section's).
public static HeaderFooter? GetHeaderFooter(this Section section, HeaderFooterKind kind, HeaderFooterType type)
Parameters
sectionSectionThe section.
kindHeaderFooterKindHeader or footer.
typeHeaderFooterTypeWhich pages.
Returns
- HeaderFooter
The part, or null.
Exceptions
- ArgumentNullException
sectionis null.