ISlideCollection

ISlideCollection

Overview

ISlideCollection is a interface in Aspose.Slides FOSS for .NET. Inherits from: IEnumerable<ISlide>.

Represents a collection of slides in a presentation.

Properties

NameTypeAccessDescription
CountintRead
AsICollectionIList<ISlide>ReadProvides the slides as an IList for collection‑style access
AsIEnumerableIEnumerable<ISlide>ReadProvides the slides as an IEnumerable for iteration

Methods

SignatureDescription
AddClone(sourceSlide: ISlide)The new cloned slide.
AddClone(sourceSlide: ISlide, destLayout: ILayoutSlide)The new cloned slide.
AddClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)The new cloned slide.
InsertClone(index: int, sourceSlide: ISlide)The new cloned slide.
InsertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide)The new cloned slide.
InsertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)The new cloned slide.
ToArray()An array containing all slides.
ToArray(startIndex: int, count: int)An array containing the specified range of slides.
AddEmptySlide(layout: ILayoutSlide)The newly added slide.
InsertEmptySlide(index: int, layout: ILayoutSlide)The newly inserted slide.
Remove(value: ISlide)The slide to remove.
RemoveAt(index: int)The zero-based index of the slide to remove.
IndexOf(slide: ISlide)The zero-based index, or -1 if the slide is not in the collection.

See Also