Class DocxHeaderFooter
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A section's header or footer of one kind: "default", "first" or "even". Blocks is null when its part can't be found.
public sealed record DocxHeaderFooter : IEquatable<DocxHeaderFooter>
- Inheritance
-
DocxHeaderFooter
- Implements
- Inherited Members
Properties
Blocks
Its paragraphs, tables and other blocks, or null when its part can't be found.
public required IReadOnlyList<DocxBlock>? Blocks { get; init; }
Property Value
Kind
"first" for the section's first page, "even" for even pages, or "default" for the rest, as in DocxHeaderFooterKinds.
public required string Kind { get; init; }
Property Value
Section
The section it belongs to, numbered from 1 in document order, so section 1 is the first of PageSetups.
public required int Section { get; init; }