Excel.HeaderFooterState enum

字段

default = "Default"

仅一个常规页眉/页脚用于打印的所有页面。Only one general header/footer is used for all pages printed.

firstAndDefault = "FirstAndDefault"

有单独的首页页眉/页脚和用于所有其他页面的常规页眉/页脚。There is a separate first page header/footer, and a general header/footer used for all other pages.

firstOddAndEven = "FirstOddAndEven"

第一个首页页眉/页脚是单独的页眉/页脚, 为奇数页和偶数页有单独的页眉/页脚。There is a separate first page header/footer, then there is a separate header/footer for odd and even pages.

oddAndEven = "OddAndEven"

奇数页和偶数页有不同的页眉/页脚。There is a different header/footer for odd and even pages.