AddClone
Contents
[
Hide
]AddClone(IShape, float, float, float, float)
Creates a copy of the specified shape and adds it to the end of the shape collection.
public IShape AddClone(IShape sourceShape, float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
sourceShape | IShape | The shape to clone. |
x | Single | The x-coordinate of the new shape’s frame, in points. |
y | Single | The y-coordinate of the new shape’s frame, in points. |
width | Single | The width of the new shape’s frame, in points. |
height | Single | The height of the new shape’s frame, in points. |
Return Value
The newly created IShape
.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddClone(IShape, float, float)
Creates a copy of the specified shape and adds it to the end of the shape collection. The new shape retains the width and height of the sourceShape.
public IShape AddClone(IShape sourceShape, float x, float y)
Parameter | Type | Description |
---|---|---|
sourceShape | IShape | The shape to clone. |
x | Single | The x-coordinate of the new shape’s frame, in points. |
y | Single | The y-coordinate of the new shape’s frame, in points. |
Return Value
The newly created IShape
.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddClone(IShape)
Creates a copy of the specified shape and adds it to the end of the shape collection. The cloned shape retains the original’s position and size.
public IShape AddClone(IShape sourceShape)
Parameter | Type | Description |
---|---|---|
sourceShape | IShape | The IShape to clone. |
Return Value
The newly created IShape
.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides