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

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