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

ParameterTypeDescription
indexint32_tIndex of new slide.
sourceLayoutSystem::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