Skip to main content
A newer version of this page is available. .
Row

WorksheetHeaderFooterOptions Members

Provides access to the document’s header and footer and contains options for displaying and printing them.

Properties

Name Description
AlignWithMargins Gets or sets whether the sides of a header or a footer should be aligned with page margins.
DifferentFirst Gets or sets whether the first page of the document contains a header and footer that is different from headers and footers on other pages.
DifferentOddEven Specifies that odd pages should have a different header and footer from even pages.
EvenFooter Provides access to the footer for even pages.
EvenHeader Provides access to the header for even pages.
FirstFooter Provides access to the footer for the first page.
FirstHeader Provides access to the header for the first page.
OddFooter Provides access to the footer for odd pages.
OddHeader Provides access to the header for odd pages.
ScaleWithDoc Specifies whether the header and footer should scale when you use the “Shrink to Fit” feature in the document.
See Also