InsertClone()

IMasterLayoutSlideCollection::InsertClone(int32_t, System::SharedPtr<ILayoutSlide>) method

Inserts a copy of a specified layout slide to specified position of the collection.

virtual System::SharedPtr<ILayoutSlide> Aspose::Slides::IMasterLayoutSlideCollection::InsertClone(int32_t index, System::SharedPtr<ILayoutSlide> sourceLayout)=0

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