ODF .NET Class Library
Show/Hide TOC

# HeaderFooterProperties Class

Represents formatting properties for both headers and footers.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class HeaderFooterProperties

VB

    Public Class HeaderFooterProperties

Inheritance
  Object HeaderFooterProperties

## Constructors

HeaderFooterProperties | Initializes a new instance of the HeaderFooterProperties class.

## Properties

BackgroundColor | Specifies the background color for headers and footers.
BackgroundImage | Specifies an image as a background.
Border | Specifies the border of the header or footer.
BorderLineWidth | Specifies the widths of borders defined by the FO border properties for borders where the value of these properties is double.
BottomBorder | Specifies the bottom border of the header or footer.
BottomBorderLineWidth | Specifies the widths of the bottom border for borders defined by the FO border properties if the property for the bottom border has the value double.
BottomMargin | Specifies percentage that refers to the corresponding bottom margin of a parent style.
BottomPadding | Specifies the bottom padding of the header or footer.
DynamicSpacing | Specifies whether the header or footer grows into the space between the page body and the header or footer before the height of the page body becomes smaller.
Height | Specifies the height of an header or footer.
LeftBorder | Specifies the left border of the header or footer.
LeftBorderLineWidth | Specifies the widths of the left border for borders defined by the FO border properties if the property for the left border has the value double.
LeftMargin | Specifies percentage that refers to the corresponding left margin of a parent style.
LeftPadding | Specifies the left padding of the header or footer.
Margin | Specifies the margin of the header or footer.
MinHeight | Specifies the minimum height for a header or footer.
Padding | Specifies the padding of the header or footer.
RightBorder | Specifies the right border of the header or footer.
RightBorderLineWidth | Specifies the widths of the right border for borders defined by the FO border properties if the property for the right border has the value double.
RightMargin | Specifies percentage that refers to the corresponding right margin of a parent style.
RightPadding | Specifies the right padding of the header or footer.
Shadow | Specifies the shadow effect.
TopBorder | Specifies the top border of the header or footer.
TopBorderLineWidth | Specifies the widths of the top border for borders defined by the FO border properties if the property for the top border has the value double.
TopMargin | Specifies percentage that refers to the corresponding top margin of a parent style.
TopPadding | Specifies the top padding of the header or footer.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current HeaderFooterProperties object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace