HeadersFooters.Item property

Returns a header or footer in a range or selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

HeaderFooter this[
	WdHeaderFooterIndex Index
] { get; }

Parameters

Index
Type: Microsoft.Office.Interop.Word.WdHeaderFooterIndex

Required WdHeaderFooterIndex. A constant that specifies the header or footer in the selection. Can be one of the following WdHeaderFooterIndex constants:

wdHeaderFooterEvenPages

wdHeaderFooterFirstPage

wdHeaderFooterPrimary

Show: