insertClone
insertClone(int index, LayoutSlide sourceLayout) function
Inserts a copy of a specified layout slide to specified position of the collection.
Parameters
Name | Type | Description |
---|---|---|
index | int | Index of new slide. |
sourceLayout | LayoutSlide | Slide to clone. 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. |