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 cloned shape’s frame, in points. |
y | Single | The y-coordinate of the cloned shape’s frame, in points. |
width | Single | The width of the cloned shape’s frame, in points. |
height | Single | The height of the cloned shape’s frame, in points. |
Return Value
The newly created IShape
.
See Also
- interface IShape
- interface IShapeCollection
- 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 IShape to clone. |
x | Single | The x-coordinate of the cloned shape’s frame, in points. |
y | Single | The y-coordinate of the cloned shape’s frame, in points. |
Return Value
The newly created IShape
.
See Also
- interface IShape
- interface IShapeCollection
- 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
- interface IShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides