Share via


HeaderFooter Object Members

Word Developer Reference

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
Bb243472.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb243472.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb243472.properties(en-us,office.12).gif Exists True if the specified HeaderFooter object exists. Read/write Boolean.
Bb243472.properties(en-us,office.12).gif Index Returns a WdHeaderFooterIndex that represents the specified header or footer in a document or section. Read-only.
Bb243472.properties(en-us,office.12).gif IsHeader True if the specified HeaderFooter object is a header. Read-only Boolean.
Bb243472.properties(en-us,office.12).gif LinkToPrevious True if the specified header or footer is linked to the corresponding header or footer in the previous section. Read/write Boolean.
Bb243472.properties(en-us,office.12).gif PageNumbers Returns a PageNumbers collection that represents all the page number fields included in the specified header or footer.
Bb243472.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified HeaderFooter object.
Bb243472.properties(en-us,office.12).gif Range Returns a Range object that represents the portion of a document that is contained within the specified header or footer.
Bb243472.properties(en-us,office.12).gif Shapes Returns a Shapes collection that represents all the Shape objects in a header or footer. Read-only.