ISlideCollection

Overview

ISlideCollection is an interface in Aspose.Slides FOSS for Java. Inherits from: Iterable<ISlide>.

Represents a collection of slides in a presentation.

This interface declares 17 methods for ISlideCollection objects in Java programs. Available methods include: addClone, addEmptySlide, asICollection, asIEnumerable, get, indexOf, insertClone, insertEmptySlide, remove, removeAt, size, toArray. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

Methods

SignatureDescription
get(index: int) → ISlideReturns the slide at the given index.
size() → intReturns the number of slides.
asICollection() → List<ISlide>Returns this collection as a {@link List}.
asIEnumerable() → Iterable<ISlide>Returns this collection as an {@link Iterable}.
addClone(sourceSlide: ISlide) → ISlideAdds a clone of the specified slide to the end of the collection.
addClone(sourceSlide: ISlide, destLayout: ILayoutSlide) → ISlideAdds a clone of the specified slide to the end of the collection, applying the specified destination layout.
addClone(sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: boolean) → ISlideAdds a clone of the specified slide to the end of the collection, applying the specified master slide.
insertClone(index: int, sourceSlide: ISlide) → ISlideInserts a clone of the specified slide at the given index.
insertClone(index: int, sourceSlide: ISlide, destLayout: ILayoutSlide) → ISlideInserts a clone of the specified slide at the given index, applying the specified destination layout.
insertClone(index: int, sourceSlide: ISlide, destMaster: IMasterSlide, allowCloneMissingLayout: boolean) → ISlideInserts a clone of the specified slide at the given index, applying the specified master slide.
toArray() → ISlide[]Returns an array containing all slides in the collection.
toArray(startIndex: int, count: int) → ISlide[]Returns an array of slides from the given range.
addEmptySlide(layout: ILayoutSlide) → ISlideAdds a new empty slide to the end of the collection with the specified layout.
insertEmptySlide(index: int, layout: ILayoutSlide) → ISlideInserts a new empty slide at the specified index with the given layout.
remove(value: ISlide)Removes the first occurrence of the specified slide from the collection.
removeAt(index: int)Removes the slide at the specified index.
indexOf(slide: ISlide) → intReturns the zero-based index of the specified slide, or {@code -1} if not found.

See Also

 English