InsertClone()
IMasterLayoutSlideCollection::InsertClone(int32_t, System::SharedPtr<ILayoutSlide>) method
Inserts a copy of a specified layout slide to specified position of the collection.
virtual System::SharedPtr<ILayoutSlide> Aspose::Slides::IMasterLayoutSlideCollection::InsertClone(int32_t index, System::SharedPtr<ILayoutSlide> sourceLayout)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Index of new slide. |
sourceLayout | System::SharedPtr<ILayoutSlide> | Slide to clone. |
Return Value
Inserted slide.
Remarks
New layout will be linked with parent master slide for this layout slides collection. So this is analogue of copy/paste with "Use Destination Theme" option in PowerPoint.
See Also
- Typedef SharedPtr
- Class ILayoutSlide
- Class IMasterLayoutSlideCollection
- Namespace Aspose::Slides
- Library Aspose.Slides