Item

WordProcessingHeaderFooterCollection indexer

获取指定类型的页眉或页脚。

public WordProcessingHeaderFooter this[OfficeHeaderFooterType headerFooterType] { get; }
范围 描述
headerFooterType AOfficeHeaderFooterType value 指定要获取的页眉/页脚的类型。

适当的价值

WordProcessingHeaderFooter指定类型的。

也可以看看