Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
81 lines (53 loc) · 4.43 KB

master-object-powerpoint.md

File metadata and controls

81 lines (53 loc) · 4.43 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
Master Object (PowerPoint)
vbapp10.chm638000
vbapp10.chm638000
powerpoint
PowerPoint.Master
22e8805e-6469-1a34-7f7b-f1ea5c6c49ff
06/08/2017

Master Object (PowerPoint)

Represents a slide master, title master, handout master, notes master, or design master.

Example

To return a Master object, use theMasterproperty of the Slide object or SlideRange collection, or use theHandoutMaster, NotesMaster, SlideMaster, or TitleMasterproperty of the Presentation object. Note that some of these properties are also available from the Design object as well. The following example sets the background fill for the slide master for the active presentation.

ActivePresentation.SlideMaster.Background.Fill _

    .PresetGradient msoGradientHorizontal, 1, msoGradientBrass

To add a title master or design to a presentation and return a Master object that represents the new title master or design, use theAddTitleMastermethod. The following example adds a title master to the active presentation and places the title placeholder 10 points from the top of the master.

ActivePresentation.AddTitleMaster.Shapes.Title.Top = 10

Methods

Name
ApplyTheme
Delete

Properties

Name
Application
Background
BackgroundStyle
ColorScheme
CustomerData
CustomLayouts
Design
Guides
HeadersFooters
Height
Hyperlinks
Name
Parent
Shapes
SlideShowTransition
TextStyles
Theme
TimeLine
Width

See also

Other resources

PowerPoint Object Model Reference