Excel.Interfaces.HeaderFooterGroupUpdateData interface
An interface for updating data on the HeaderFooterGroup
object, for use in headerFooterGroup.set({ ... })
.
Properties
default |
The general header/footer, used for all pages unless even/odd or first page is specified. |
even |
The header/footer to use for even pages, odd header/footer needs to be specified for odd pages. |
first |
The first page header/footer, for all other pages general or even/odd is used. |
odd |
The header/footer to use for odd pages, even header/footer needs to be specified for even pages. |
state | The state by which headers/footers are set. See |
use |
Gets or sets a flag indicating if headers/footers are aligned with the page margins set in the page layout options for the worksheet. |
use |
Gets or sets a flag indicating if headers/footers should be scaled by the page percentage scale set in the page layout options for the worksheet. |
Property Details
defaultForAllPages
The general header/footer, used for all pages unless even/odd or first page is specified.
defaultForAllPages?: Excel.Interfaces.HeaderFooterUpdateData;
Property Value
Remarks
evenPages
The header/footer to use for even pages, odd header/footer needs to be specified for odd pages.
evenPages?: Excel.Interfaces.HeaderFooterUpdateData;
Property Value
Remarks
firstPage
The first page header/footer, for all other pages general or even/odd is used.
firstPage?: Excel.Interfaces.HeaderFooterUpdateData;
Property Value
Remarks
oddPages
The header/footer to use for odd pages, even header/footer needs to be specified for even pages.
oddPages?: Excel.Interfaces.HeaderFooterUpdateData;
Property Value
Remarks
state
The state by which headers/footers are set. See Excel.HeaderFooterState
for details.
state?: Excel.HeaderFooterState | "Default" | "FirstAndDefault" | "OddAndEven" | "FirstOddAndEven";
Property Value
Excel.HeaderFooterState | "Default" | "FirstAndDefault" | "OddAndEven" | "FirstOddAndEven"
Remarks
useSheetMargins
Gets or sets a flag indicating if headers/footers are aligned with the page margins set in the page layout options for the worksheet.
useSheetMargins?: boolean;
Property Value
boolean
Remarks
useSheetScale
Gets or sets a flag indicating if headers/footers should be scaled by the page percentage scale set in the page layout options for the worksheet.
useSheetScale?: boolean;
Property Value
boolean
Remarks
Office Add-ins