Page.Footer Property
Publisher Developer Reference |
Returns a HeaderFooter object representing the footer of the specified Page object. Read-only.
Syntax
expression.Footer
expression A variable that represents a Page object.
Return Value
HeaderFooter
Remarks
This property is only for master pages. A "This feature is only for master pages" error is returned if the Footer property is accessed from a Page object that is returned form the Pages collection. A new HeaderFooter object is created for the specified master page by accessing this property.
Example
The following example creates a HeaderFooter object and sets it to the footer of the first master page.
Visual Basic for Applications |
---|
|
The HeaderFooter object returned by the Footer property can be used to manipulate the footer content. The following example sets some properties of the HeaderFooter object of the first master page.
Visual Basic for Applications |
---|
|
See Also