AddClone()
MasterLayoutSlideCollection::AddClone(System::SharedPtr<ILayoutSlide>) method
Adds a copy of a specified layout slide to the end of the collection.
System::SharedPtr<ILayoutSlide> Aspose::Slides::MasterLayoutSlideCollection::AddClone(System::SharedPtr<ILayoutSlide> sourceLayout) override
Arguments
| Parameter | Type | Description | 
|---|---|---|
| sourceLayout | System::SharedPtr<ILayoutSlide> | Slide to clone. | 
Return Value
Added 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. 2) Analogue of this method is method IGlobalLayoutSlideCollection::AddClone(SharedPtr
, SharedPtr accessed with IPresentation::get_LayoutSlides() property.)  
See Also
- Typedef SharedPtr
 - Class ILayoutSlide
 - Class MasterLayoutSlideCollection
 - Namespace Aspose::Slides
 - Library Aspose.Slides