Excel.Interfaces.HeaderFooterGroupLoadOptions interface

属性

$all
defaultForAllPages

常规页眉/页脚,除非指定偶数页/奇数页或首页,否则适用于所有页面,The general header/footer, used for all pages unless even/odd or first page is specified.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

evenPages

用于偶数页的页眉/页脚,需要为奇数页指定奇数页页眉/页脚。The header/footer to use for even pages, odd header/footer needs to be specified for odd pages.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

firstPage

首页的页眉/页脚,为所有其他页使用常规或偶数页/奇数页页眉/页脚。The first page header/footer, for all other pages general or even/odd is used.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

oddPages

用于奇数页的页眉/页脚,需要为偶数页指定偶数页页眉/页脚。The header/footer to use for odd pages, even header/footer needs to be specified for even pages.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

state

获取或设置所设置的页眉/页脚的状态。Gets or sets the state of which headers/footers are set. 有关详细信息,请参阅 Excel.HeaderFooterState。See Excel.HeaderFooterState for details.

[API 集: ExcelApi 1.9][ 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.

[API 集: ExcelApi 1.9][ 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.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

$all

$all?: boolean;

属性值

boolean

defaultForAllPages

常规页眉/页脚,除非指定偶数页/奇数页或首页,否则适用于所有页面,The general header/footer, used for all pages unless even/odd or first page is specified.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

defaultForAllPages?: Excel.Interfaces.HeaderFooterLoadOptions;

属性值

evenPages

用于偶数页的页眉/页脚,需要为奇数页指定奇数页页眉/页脚。The header/footer to use for even pages, odd header/footer needs to be specified for odd pages.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

evenPages?: Excel.Interfaces.HeaderFooterLoadOptions;

属性值

firstPage

首页的页眉/页脚,为所有其他页使用常规或偶数页/奇数页页眉/页脚。The first page header/footer, for all other pages general or even/odd is used.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

firstPage?: Excel.Interfaces.HeaderFooterLoadOptions;

属性值

oddPages

用于奇数页的页眉/页脚,需要为偶数页指定偶数页页眉/页脚。The header/footer to use for odd pages, even header/footer needs to be specified for even pages.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

oddPages?: Excel.Interfaces.HeaderFooterLoadOptions;

属性值

state

获取或设置所设置的页眉/页脚的状态。Gets or sets the state of which headers/footers are set. 有关详细信息,请参阅 Excel.HeaderFooterState。See Excel.HeaderFooterState for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

state?: boolean;

属性值

boolean

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.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

useSheetMargins?: boolean;

属性值

boolean

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.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

useSheetScale?: boolean;

属性值

boolean