InsertClone

IMasterLayoutSlideCollection.InsertClone method

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

public ILayoutSlide InsertClone(int index, ILayoutSlide sourceLayout)
ParameterTypeDescription
indexInt32Index of new slide.
sourceLayoutILayoutSlideSlide 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