Background Property

Applies To

Master object, Slide object, SlideRange collection object.

Description

Master, Slide, and SlideRange objects: Returns a ShapeRange object that represents the slide background. Read-only.

Remarks

If you want to use the Background property to set the background for an individual slide without changing the slide master, the FollowMasterBackground property for that slide must be set to False.

See Also

Background method.

Example

This example sets the background of the slide master in the active presentation to a preset shade.

ActivePresentation.SlideMaster.Background.Fill.PresetGradient _
    msoGradientHorizontal, 1, msoGradientLateSunset
This example sets the background of slide one in the active presentation to a preset shade.

With ActivePresentation.Slides(1)
    .FollowMasterBackground = False
    .Background.Fill.PresetGradient msoGradientHorizontal, 1, _
        msoGradientLateSunset
End With