addClone

addClone(LayoutSlide sourceLayout) method

Adds a copy of a specified layout slide to the end of the collection.

Parameters

NameTypeDescription
sourceLayoutLayoutSlideSlide to clone. 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(ILayoutSlide,IMasterSlide) accessed with ( IPresentation#getLayoutSlides) property.

Returns

LayoutSlide