SlideCollection

General

SlideCollection is a class in Aspose.Slides for NET. Inherits from: ISlideCollection.

SlideCollection és una classe en Aspose.Slides per NET. Hereta de: ゚ISlideCollection⌒’ .

Representa una col·lecció de diapositives en una presentació.

Propietats

NameTypeAccessDescription
CountintReadReturns the total number of slides, and the collection can be treated as an ICollection or IEnumerable
AsICollectionIList<ISlide>ReadExposes the slides as an IList collection
AsIEnumerableIEnumerable<ISlide>ReadExposes the slides as an IEnumerable sequence

Mètodes

SignatureDescription
AddClone(sourceSlide: ISlide)Adds a copy of the source slide with a master slide and optional missing‑layout cloning
AddClone(sourceSlide: ISlide, destLayout: ILayoutSlide)
AddClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)
InsertClone(index: int, sourceSlide: ISlide)Inserts a cloned slide at index with a master slide and layout‑missing flag
InsertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide)
InsertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: bool)
ToArray()Returns all slides in the collection as an array
ToArray(startIndex: int, count: int)
AddEmptySlide(layout: ILayoutSlide)Creates a new blank slide using the specified layout and adds it to the end
InsertEmptySlide(index: int, layout: ILayoutSlide)Inserts a new blank slide at index with the given layout
Remove(value: ISlide)
RemoveAt(index: int)Removes the slide located at the given zero‑based index
IndexOf(slide: ISlide)
GetEnumerator()Provides an enumerator to iterate over the slides
 Català