Share via


HeadersFooters Interface

Contains all the HeaderFooter objects on the specified slide, notes page, handout, or master.

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

Syntax

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

Remarks

Each HeaderFooter object represents a header, footer, date and time, or slide number.

Note

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

Examples

Use the HeadersFooters property to return the HeadersFooters object. Use the DateAndTime, Footer, HeadersFooters, or SlideNumber property to return an individual HeaderFooterobject. The following example sets the footer text for slide one in the active presentation.

ActivePresentation.Slides(1).HeadersFooters.Footer _

    .Text = "Volcano Coffee"

See Also

Reference

HeadersFooters Members

Microsoft.Office.Interop.PowerPoint Namespace