Excel.Interfaces.HeaderFooterGroupUpdateData interface

An interface for updating data on the HeaderFooterGroup object, for use in headerFooterGroup.set({ ... }).

Properties

defaultForAllPages

The general header/footer, used for all pages unless even/odd or first page is specified.

evenPages

The header/footer to use for even pages, odd header/footer needs to be specified for odd pages.

firstPage

The first page header/footer, for all other pages general or even/odd is used.

oddPages

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 Excel.HeaderFooterState for details.

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.

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.

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

[ API set: ExcelApi 1.9 ]

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

[ API set: ExcelApi 1.9 ]

firstPage

The first page header/footer, for all other pages general or even/odd is used.

firstPage?: Excel.Interfaces.HeaderFooterUpdateData;

Property Value

Remarks

[ API set: ExcelApi 1.9 ]

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

[ API set: ExcelApi 1.9 ]

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

[ API set: ExcelApi 1.9 ]

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

[ API set: ExcelApi 1.9 ]

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

[ API set: ExcelApi 1.9 ]