addClone

addClone(LayoutSlide sourceLayout) function

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 function is function IGlobalLayoutSlideCollection#addClone(ILayoutSlide,IMasterSlide) accessed with ( IPresentation#getLayoutSlides) property.

Result

LayoutSlide