IShapeCollectionInsertClone Method (Int32, IShape, Single, Single, Single, Single)

Inserts a copy of a specified shape to specified position of the collection.

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

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.
width
Type: SystemSingle
Width of a new shape.
height
Type: SystemSingle
Height of a new shape.

Return Value

Type: IShape
Inserted shape.
See Also