Selection.HeaderFooter property

Returns a HeaderFooter object for the specified selection.

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

HeaderFooter HeaderFooter { get; }

An error occurs if the selection isn't located within a header or footer.

Show: