Freigeben über


Designs.Load Method

Returns a Design object that represents a design loaded into the master list of the specified presentation.

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

Syntax

'Declaration
Function Load ( _
    TemplateName As String, _
    Index As Integer _
) As Design
'Usage
Dim instance As Designs
Dim TemplateName As String
Dim Index As Integer
Dim returnValue As Design

returnValue = instance.Load(TemplateName, _
    Index)
Design Load(
    string TemplateName,
    int Index
)

Parameters

  • TemplateName
    Type: System.String
    The path to the design template.
  • Index
    Type: System.Int32
    The index number of the design template in the collection of design templates. The default is -1, which means the design template is added to the end of the list of designs in the presentation.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Design

See Also

Reference

Designs Interface

Designs Members

Microsoft.Office.Interop.PowerPoint Namespace