Table of Contents

Method GetHeaderFooter

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

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

section Section

The section.

kind HeaderFooterKind

Header or footer.

type HeaderFooterType

Which pages.

Returns

HeaderFooter

The part, or null.

Exceptions

ArgumentNullException

section is null.