Partager via


Design Interface

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

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

Syntax

'Declaration
<GuidAttribute("914934D7-5A91-11CF-8700-00AA0060263B")> _
Public Interface Design
'Usage
Dim instance As Design
[GuidAttribute("914934D7-5A91-11CF-8700-00AA0060263B")]
public interface Design

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(String, Int32), Item[Object], Clone(Design, Int32), or Load(String, Int32) methods 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"

See Also

Reference

Design Members

Microsoft.Office.Interop.PowerPoint Namespace