insert_clone method
insert_clone
Inserts a copy of a specified layout slide to specified position of the collection.
Returns
Inserted slide.
def insert_clone(self, index, source_layout):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of new slide. |
| source_layout | ILayoutSlide | Slide to clone. |
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
- class
ILayoutSlide - class
IMasterLayoutSlideCollection - module
aspose.slides - library
Aspose.Slides