IShapeCollectionAddClone Method (IShape, Single, Single)

Adds a copy of a specified shape to the end of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.12.0.0 (21.12)
Syntax
IShape AddClone(
	IShape sourceShape,
	float x,
	float y
)

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.

Return Value

Type: IShape
New shape.
See Also