Share via


_Master.HeadersFooters Property

Returns a HeadersFooters collection that represents the header, footer, date and time, and slide number associated with the slide, slide master, or range of slides. Read-only.

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

Syntax

'Declaration
ReadOnly Property HeadersFooters As HeadersFooters
    Get
'Usage
Dim instance As _Master
Dim value As HeadersFooters

value = instance.HeadersFooters
HeadersFooters HeadersFooters { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.HeadersFooters
HeadersFooters

Examples

This example sets the footer text and the date and time format for the notes master in the active presentation and sets the date and time to be updated automatically.

With ActivePresentation.NotesMaster.HeadersFooters.Footer.Text = "Regional Sales"

    With .DateAndTime

        .UseFormat = True

        .Format = ppDateTimeHmmss

    End With

End With

See Also

Reference

_Master Interface

_Master Members

Microsoft.Office.Interop.PowerPoint Namespace