HeaderFooter Members (Word)

Represents a single header or footer. The HeaderFooter object is a member of the HeadersFooters collection. The HeadersFooters collection includes all headers and footers in the specified document section.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Exists

True if the specified HeaderFooter object exists. Read/write Boolean.

Index

Returns a WdHeaderFooterIndex that represents the specified header or footer in a document or section. Read-only.

IsHeader

True if the specified HeaderFooter object is a header. Read-only Boolean.

LinkToPrevious

True if the specified header or footer is linked to the corresponding header or footer in the previous section. Read/write Boolean.

PageNumbers

Returns a PageNumbers collection that represents all the page number fields included in the specified header or footer.

Parent

Returns an Object that represents the parent object of the specified HeaderFooter object.

Range

Returns a Range object that represents the portion of a document that is contained within the specified header or footer.

Shapes

Returns a Shapes collection that represents all the Shape objects in a header or footer. Read-only.