SlideCollection
Overview
SlideCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: ISlideCollection.
Represents a collection of slides in a presentation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | |
AsICollection | IList<ISlide> | Read | Exposes the slides as an IList |
AsIEnumerable | IEnumerable<ISlide> | Read | Exposes the slides as an IEnumerable |
Methods
| Signature | Description |
|---|---|
AddClone(sourceSlide: ISlide) | Adds a copy of the source slide to the given master slide, optionally cloning missing layout |
AddClone(sourceSlide: ISlide, destLayout: ILayoutSlide) | |
AddClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool) | |
InsertClone(index: int, sourceSlide: ISlide) | Inserts a cloned slide at index into the specified master slide, with optional layout cloning |
InsertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide) | |
InsertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool) | |
ToArray() | Returns a sub‑array of slides starting at startIndex with count elements |
ToArray(startIndex: int, count: int) | |
AddEmptySlide(layout: ILayoutSlide) | |
InsertEmptySlide(index: int, layout: ILayoutSlide) | Inserts a new empty slide at index using the specified layout |
Remove(value: ISlide) | |
RemoveAt(index: int) | Removes the slide at the given zero‑based index |
IndexOf(slide: ISlide) | |
GetEnumerator() | Provides an enumerator to iterate over the slides |