IGlobalLayoutSlideCollectionAddClone Method (ILayoutSlide)

Adds a copy of a specified layout slide to the presentation.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
ILayoutSlide AddClone(
	ILayoutSlide sourceLayout
)

Parameters

sourceLayout
Type: Aspose.SlidesILayoutSlide
Slide to clone.

Return Value

Type: ILayoutSlide
Added slide.
Remarks
When cloning a layout between different presentations layout's master can be cloned too to keep source formatting. Internal registry is used to track automatically cloned masters to prevent creation of multiple clones of the same master slide. Manual cloning of master slides will be neither prevented nor registered.
See Also