Partager via


Shape.Duplicate Method

Creates a duplicate of the specified Shape object, adds the new shape to the Shapes collection, and then returns a new ShapeRange object. The duplicated objects are placed at the end of the Shapes collection.

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

Syntax

'Declaration
Function Duplicate As ShapeRange
'Usage
Dim instance As Shape
Dim returnValue As ShapeRange

returnValue = instance.Duplicate()
ShapeRange Duplicate()

Return Value

Type: Microsoft.Office.Interop.PowerPoint.ShapeRange

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.PowerPoint Namespace