Partager via


Designs.Clone Method

Creates a copy of a Design object.

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

Syntax

'Declaration
Function Clone ( _
    pOriginal As Design, _
    Index As Integer _
) As Design
'Usage
Dim instance As Designs
Dim pOriginal As Design
Dim Index As Integer
Dim returnValue As Design

returnValue = instance.Clone(pOriginal, _
    Index)
Design Clone(
    Design pOriginal,
    int Index
)

Parameters

  • Index
    Type: System.Int32
    The index location in the Designs collection into which the design will be copied. If Index is omitted, the cloned design is added to the end of the Designs collection.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Design

See Also

Reference

Designs Interface

Designs Members

Microsoft.Office.Interop.PowerPoint Namespace