Click or drag to resize
HeaderFooter Class
Represent a header / footer for the parent Section.
Inheritance Hierarchy

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version:
public sealed class HeaderFooter : Element, 

The HeaderFooter type exposes the following members.

Public methodClone(Boolean)
Clones this HeaderFooter instance.
Public methodClone(HeaderFooterType)
Clones this HeaderFooter instance and sets new HeaderFooterType.
Public methodGetChildElements(Boolean)
Gets the child elements.
(Inherited from Element.)
Public methodGetChildElements(Boolean, ElementType)
Gets the child elements filtered by ElementType.
(Inherited from Element.)
Public propertyBlocks
Gets the header / footer content.
Public propertyContent
Gets the content of the current Element.
(Inherited from Element.)
Public propertyDocument
Gets the owner document.
(Inherited from Element.)
Public propertyElementType
Gets the ElementType of this Element instance.
(Overrides ElementElementType.)
Public propertyHeaderFooterType
Gets the type of the header / footer.
Public propertyIsHeader
Gets a value indicating whether this instance is header.
Public propertyParent
Gets the parent Section of this HeaderFooter instance.
Public propertyParentCollection
Gets the HeaderFooterCollection that contains this HeaderFooter instance.
Explicit Interface Implementations

HeaderFooter is a special document content element that is not a part of a main document content, instead, it is repeated at the beginning (if IsHeader is ) or at the end of every page (first page, even pages or all pages) that is showing the parent Section's content.

HeaderFooter is a content element containing of Block derived elements that can be accessed through HeaderFooter.Blocks property. For more information, see GemBox.Document Content Model.

For more information about headers and footers, see header / footer sample.

See Also