Share via


_Slide.Master Property

Returns a Master object that represents the slide master. Read-only.

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

Syntax

'Declaration
ReadOnly Property Master As Master
    Get
'Usage
Dim instance As _Slide
Dim value As Master

value = instance.Master
Master Master { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.Master
Master

Examples

This example sets the background fill for the slide master for slide one in the active presentation.

ActivePresentation.Slides(1).Master.Background.Fill _

    .PresetGradient msoGradientDiagonalUp, 1, msoGradientDaybreak

See Also

Reference

_Slide Interface

_Slide Members

Microsoft.Office.Interop.PowerPoint Namespace