HeaderFooter Interface

Office 2010

Represents a header, footer, date and time, slide number, or page number on a slide or master. All the HeaderFooter objects for a slide or master are contained in a HeadersFooters object

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

No code example is currently available or this language may not be supported.

Use one of the properties listed in the following table to return the HeaderFooter object.

Use this property

To return

DateAndTime

A HeaderFooter object that represents the date and time on the slide

Footer

A HeaderFooter object that represents the footer for the slide.

Header

A HeaderFooter object that represents the header for the slide. This works only for notes pages and handouts, not for slides.

SlideNumber

A HeaderFooter object that represent the slide number (on a slide) or page number (on a notes page or a handout).

NoteNote

HeaderFooter objects aren't available for Slide objects that represent notes pages. The HeaderFooter object that represents a header is available only for a notes master or handout master.

Show: