IShapeCollectionInsertClone Method (Int32, IShape, Single, Single)

Inserts a copy of a specified shape to specified position 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.6.0.0 (21.6)
Syntax
IShape InsertClone(
	int index,
	IShape sourceShape,
	float x,
	float y
)

Parameters

index
Type: SystemInt32
Index of new shape.
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
Inserted shape.
See Also