Contains all headers and footers in a document or part of the document.

Syntax

HeaderFooterCollection

Introduced: X18.

Methods

Method Description
add Adds a new header or footer to a document or to a certain section of the document.
elementAt Returns the element at a specified index in the collection.
(Inherited from Collection)
forEach Executes a callback function for each element.
(Inherited from Collection)
getCount Gets the number of elements contained in the collection.
(Inherited from Collection)
getItem Gets a particular header or footer from the collection.
remove Removes a header or footer from the document or from a certain section.