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: (22.5)
ILayoutSlide AddClone(
	ILayoutSlide sourceLayout


Type: Aspose.SlidesILayoutSlide
Slide to clone.

Return Value

Type: ILayoutSlide
Added slide.
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