AddClone
Contents
[
Hide
]AddClone(ILayoutSlide)
Adds a copy of a specified layout slide to the presentation.
public ILayoutSlide AddClone(ILayoutSlide sourceLayout)
Parameter | Type | Description |
---|---|---|
sourceLayout | ILayoutSlide | Slide to clone. |
Return Value
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
- interface ILayoutSlide
- class GlobalLayoutSlideCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddClone(ILayoutSlide, IMasterSlide)
Adds a copy of a specified layout slide to the presentation.
public ILayoutSlide AddClone(ILayoutSlide sourceLayout, IMasterSlide destMaster)
Parameter | Type | Description |
---|---|---|
sourceLayout | ILayoutSlide | Slide to clone. |
destMaster | IMasterSlide | Master slide for a new layout. |
Return Value
Added slide.
Remarks
- New layout will be linked with defined master in destination presentation. So this is analogue of copy/paste with “Use Destination Theme” option in PowerPoint. 2) Analogue of this method is method
AddClone
accessed withLayoutSlides
property.
See Also
- interface ILayoutSlide
- interface IMasterSlide
- class GlobalLayoutSlideCollection
- namespace Aspose.Slides
- assembly Aspose.Slides