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

ParameterTypeDescription
sourceLayoutSystem::SharedPtr<ILayoutSlide>Slide to clone.

Return Value

Added slide.

Remarks

  1. 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