GlobalLayoutSlideCollectionAddClone Method (ILayoutSlide)

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public ILayoutSlide AddClone(
	ILayoutSlide sourceLayout
)

Parameters

sourceLayout
Type: Aspose.SlidesILayoutSlide
Slide to clone.

Return Value

Type: ILayoutSlide
Added slide.

Implements

IGlobalLayoutSlideCollectionAddClone(ILayoutSlide)
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