ExcelHeaderFooter Properties

Office Open XML

The ExcelHeaderFooter type exposes the following members.

Properties

  NameDescription
AlignWithMargins
Gets/sets the alignWithMargins attribute
differentFirst
Gets/sets the flag that tells Excel to display different headers and footers on the first page of the worksheet.
differentOddEven
Gets/sets the flag that tells Excel to display different headers and footers on odd and even pages.
EvenFooter
Provides access to the footer on even numbered pages of the document.
EvenHeader
Provides access to the header on even numbered pages of the document.
FirstFooter
Provides access to the footer on the first page of the document.
FirstHeader
Provides access to the header on the first page of the document.
OddFooter
Provides access to the footer on odd numbered pages of the document. If you want the same footer on both odd and even pages, then only set values in this ExcelHeaderFooterText class.
OddHeader
Provides access to the header on odd numbered pages of the document. If you want the same header on both odd and even pages, then only set values in this ExcelHeaderFooterText class.
Pictures
Vml drawings. Underlaying object for Header footer images

See Also