InsertClone()
MasterLayoutSlideCollection::InsertClone(int32_t, System::SharedPtr<ILayoutSlide>) method
Inserts a copy of a specified layout slide to specified position of the collection.
System::SharedPtr<ILayoutSlide> Aspose::Slides::MasterLayoutSlideCollection::InsertClone(int32_t index, System::SharedPtr<ILayoutSlide> sourceLayout) override
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 MasterLayoutSlideCollection
- Namespace Aspose::Slides
- Library Aspose.Slides