DocumentHeaderFooterPartClass
Definition
- Namespace
- DOM.Abstracts
- Assembly
- DOM.dll
Base class for document header and footer parts.
Remarks
Header and footer parts provide a place to host flow content (paragraphs, images, shapes, etc.) and expose layout properties such as borders and height constraints. Concrete implementations should populate the children collection and respect the height and border settings when rendering or serializing header/footer content. The concrete and classes derive from this type and are created through the section-level / methods. DocumentHeader DocumentFooter AddHeader AddFooter
Examples
Properties
Gets or sets the rectangular border settings for this header/footer part.
Gets or sets a value indicating whether the header/footer should use a fixed height.
Gets or sets the maximum height of the header/footer region.
Gets or sets the minimum height of the header/footer region.
Gets or sets the page number field associated with this header/footer part.
Gets or sets the type of this header/footer part.
Methods
Adds a text node to the section by creating a new paragraph and appending the text to it.