Contains all headers and footers in a document or part of the document.
HeaderFooterCollection Introduced: X18.
| Method | Description |
|---|---|
| add | Adds a new header or footer to a document or to a certain section of the document. |
| element |
Returns the element at a specified index in the collection.
(Inherited from Collection) |
| for |
Executes a callback function for each element.
(Inherited from Collection) |
| get |
Gets the number of elements contained in the collection.
(Inherited from Collection) |
| get |
Gets a particular header or footer from the collection. |
| remove | Removes a header or footer from the document or from a certain section. |