AddClone()
IMasterLayoutSlideCollection::AddClone(System::SharedPtr<ILayoutSlide>) method
Adds a copy of a specified layout slide to the end of the collection.
virtual System::SharedPtr<ILayoutSlide> Aspose::Slides::IMasterLayoutSlideCollection::AddClone(System::SharedPtr<ILayoutSlide> sourceLayout)=0
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 IMasterLayoutSlideCollection
- Namespace Aspose::Slides
- Library Aspose.Slides