InsertClone
Contents
[
Hide
]InsertClone(int, IShape, float, float, float, float)
Inserts a copy of a specified shape to specified position of the collection.
public IShape InsertClone(int index, IShape sourceShape, float x, float y, float width,
float height)
Parameter | Type | Description |
---|---|---|
index | Int32 | Index of new shape. |
sourceShape | IShape | Shape to clone. |
x | Single | X coordinate of a new shape. |
y | Single | Y coordinate of a new shape. |
width | Single | Width of a new shape. |
height | Single | Height of a new shape. |
Return Value
Inserted shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertClone(int, IShape, float, float)
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.
public IShape InsertClone(int index, IShape sourceShape, float x, float y)
Parameter | Type | Description |
---|---|---|
index | Int32 | Index of new shape. |
sourceShape | IShape | Shape to clone. |
x | Single | X coordinate of a new shape. |
y | Single | Y coordinate of a new shape. |
Return Value
Inserted shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
InsertClone(int, 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.
public IShape InsertClone(int index, IShape sourceShape)
Parameter | Type | Description |
---|---|---|
index | Int32 | Index of new shape. |
sourceShape | IShape | Shape to clone. |
Return Value
Inserted shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides