IShapeCollectionInsertClone Method (Int32, IShape)

Inserts a copy of a specified shape to specified position of the collection. X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the sourceShape.

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

Parameters

index
Type: SystemInt32
Index of new shape.
sourceShape
Type: Aspose.SlidesIShape
Shape to clone.

Return Value

Type: IShape
Inserted shape.
See Also