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.0.0 (22.5)
SyntaxILayoutSlide AddClone(
ILayoutSlide sourceLayout
)
Function AddClone (
sourceLayout As ILayoutSlide
) As ILayoutSlide
ILayoutSlide^ AddClone(
ILayoutSlide^ sourceLayout
)
abstract AddClone :
sourceLayout : ILayoutSlide -> ILayoutSlide
Parameters
- sourceLayout
- Type: Aspose.SlidesILayoutSlide
Slide to clone.
Return Value
Type:
ILayoutSlideAdded 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