Share via


Designs Interface

Represents a collection of slide design templates.

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

Syntax

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

Remarks

Use the Design property of the Presentation object to reference a design template.

To add or clone an individual design template, use the Designs collection's Add(String, Int32) or Clone(Design, Int32) methods, respectively. To refer to an individual design template, use the Item[Object] method.

To load a design template, use the Loaded method.

Examples

The following example adds a new design template to the Designs collection and confirms it was added correctly.

Sub AddDesignMaster()

    With ActivePresentation.Designs

        .Add designName:="MyDesignName"

        MsgBox .Item("MyDesignName").Name

    End With

End Sub

See Also

Reference

Designs Members

Microsoft.Office.Interop.PowerPoint Namespace