AddClone
Contents
[
Hide
]AddClone(IShape, float, float, float, float)
Adds a copy of a specified shape to the end of the collection.
public IShape AddClone(IShape sourceShape, float x, float y, float width, float height)
Parameter | Type | Description |
---|---|---|
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
New shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddClone(IShape, float, float)
Adds a copy of a specified shape to the end of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape.
public IShape AddClone(IShape sourceShape, float x, float y)
Parameter | Type | Description |
---|---|---|
sourceShape | IShape | Shape to clone. |
x | Single | X coordinate of a new shape. |
y | Single | Y coordinate of a new shape. |
Return Value
New shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddClone(IShape)
Adds a copy of a specified shape to the end 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 AddClone(IShape sourceShape)
Parameter | Type | Description |
---|---|---|
sourceShape | IShape | Shape to clone. |
Return Value
New shape.
See Also
- interface IShape
- class ShapeCollection
- namespace Aspose.Slides
- assembly Aspose.Slides