ISlideCollectionAddClone Method (ISlide)

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
ISlide AddClone(
	ISlide sourceSlide
)

Parameters

sourceSlide
Type: Aspose.SlidesISlide
Slide to clone.

Return Value

Type: ISlide
New slide.
Remarks
When cloning a slide between different presentations slide's master can be cloned too. 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. If you need more control over cloning process use AddClone(ISlide, ILayoutSlide) or AddClone(ISlide, IMasterSlide, Boolean) for cloning slides, AddClone(ILayoutSlide) or AddClone(ILayoutSlide, IMasterSlide) for cloning layouts and AddClone(IMasterSlide) for cloning masters.
See Also