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
- pOriginal
Type: Microsoft.Office.Interop.PowerPoint.Design
Design object. The original design.
- 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