Gets a collection of all headers and footers the current document contains. The property's value is an object of the type HeaderFooterCollection.

Syntax

public HeaderFooterCollection HeadersAndFooters { get; }

Limitations

Runtime only.

Read only.