InsertClone()
Contents
[
Hide
]IShapeCollection::InsertClone(int32_t, System::SharedPtr<IShape>, float, float, float, float) method
Creates a copy of the specified shape and inserts it into the shape collection at the specified index.
virtual System::SharedPtr<IShape> Aspose::Slides::IShapeCollection::InsertClone(int32_t index, System::SharedPtr<IShape> sourceShape, float x, float y, float width, float height)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which to insert the cloned shape. |
sourceShape | System::SharedPtr<IShape> | The IShape to clone. |
x | float | The x-coordinate of the cloned shape\u2019s frame, in points. |
y | float | The y-coordinate of the cloned shape\u2019s frame, in points. |
width | float | The width of the cloned shape\u2019s frame, in points. |
height | float | The height of the cloned shape\u2019s frame, in points. |
Return Value
The newly created IShape.
IShapeCollection::InsertClone(int32_t, System::SharedPtr<IShape>, float, float) method
Creates a copy of the specified shape and inserts it into the shape collection at the specified index. The new shape retains the width and height of the sourceShape .
virtual System::SharedPtr<IShape> Aspose::Slides::IShapeCollection::InsertClone(int32_t index, System::SharedPtr<IShape> sourceShape, float x, float y)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which to insert the cloned shape. |
sourceShape | System::SharedPtr<IShape> | The IShape to clone. |
x | float | The x-coordinate of the cloned shape\u2019s frame, in points. |
y | float | The y-coordinate of the cloned shape\u2019s frame, in points. |
Return Value
The newly created IShape.
IShapeCollection::InsertClone(int32_t, System::SharedPtr<IShape>) method
Creates a copy of the specified shape and inserts it into the shape collection at the specified index. The cloned shape retains the original\u2019s position and size.
virtual System::SharedPtr<IShape> Aspose::Slides::IShapeCollection::InsertClone(int32_t index, System::SharedPtr<IShape> sourceShape)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which to insert the cloned shape. |
sourceShape | System::SharedPtr<IShape> | The IShape to clone. |
Return Value
The newly created IShape.
See Also
- Typedef SharedPtr
- Class IShape
- Class IShapeCollection
- Namespace Aspose::Slides
- Library Aspose.Slides