Gets a collection of all headers and footers in the document.

Introduced: X18.

Syntax

<HeaderFooterCollection> TXTextControl.headersAndFooters