Table of contents
TOC
Collapse the table of content
Expand the table of content

Design Object (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents an individual slide design template. The Design object is a member of the Designs and SlideRange collections and the Master and Slide objects.

Remarks

Use the Design property of the Master, Slide, or SlideRange objects to access a Design object, for example:

  • ActivePresentation.SlideMaster.Design

  • ActivePresentation.Slides(1).Design

  • ActivePresentation.Slides.Range.Design

Use the Add, Item, Clone, or Loadmethods of the Designs collection to add, refer to, clone, or load a Design object, respectively. For example, to add a design template, use ActivePresentation.Designs.Add designName:="MyDesign"

Example

The Design object'sAddTitleMastermethod and HasTitleMasterproperty can be used to add and / or query the status of a title slide master. For example:

Sub AddQueryTitleMaster(dsn As Design)

    dsn.AddTitleMaster

    MsgBox dsn.HasTitleMaster

End Sub

See also

Concepts

PowerPoint Object Model Reference

© 2017 Microsoft