IMasterLayoutSlideCollectionAddClone Method

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
ILayoutSlide AddClone(
	ILayoutSlide sourceLayout
)

Parameters

sourceLayout
Type: Aspose.SlidesILayoutSlide
Slide to clone.

Return Value

Type: ILayoutSlide
Added slide.
Remarks
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 AddClone(ILayoutSlide, IMasterSlide) accessed with LayoutSlides property.
See Also