IMasterLayoutSlideCollectionInsertClone Method

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
ILayoutSlide InsertClone(
	int index,
	ILayoutSlide sourceLayout
)

Parameters

index
Type: SystemInt32
Index of new slide.
sourceLayout
Type: Aspose.SlidesILayoutSlide
Slide to clone.

Return Value

Type: ILayoutSlide
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