Partager via


HeaderFooter Interface

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)

Syntax

'Declaration
<GuidAttribute("9149349C-5A91-11CF-8700-00AA0060263B")> _
Public Interface HeaderFooter
'Usage
Dim instance As HeaderFooter
[GuidAttribute("9149349C-5A91-11CF-8700-00AA0060263B")]
public interface HeaderFooter

Remarks

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).

Note

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.

See Also

Reference

HeaderFooter Members

Microsoft.Office.Interop.PowerPoint Namespace