IShapeCollectionAddClone Method (IShape, Single, Single, Single, Single)

Adds a copy of a specified shape to the end of the collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
IShape AddClone(
	IShape sourceShape,
	float x,
	float y,
	float width,
	float height
)

Parameters

sourceShape
Type: Aspose.SlidesIShape
Shape to clone.
x
Type: SystemSingle
X coordinate of a new shape.
y
Type: SystemSingle
Y coordinate of a new shape.
width
Type: SystemSingle
Width of a new shape.
height
Type: SystemSingle
Height of a new shape.

Return Value

Type: IShape
New shape.
See Also