ISlideCollection — Aspose.Slides FOSS Java API Reference
ISlideCollection — Represents a collection of slides in a presentation.
Package: org.aspose.slides.foss
Methods
| Method | Returns | Description |
|---|---|---|
get(int index) | ISlide | Returns the slide at the given index. |
size() | int | Returns the number of slides. |
asICollection() | List<ISlide> | Returns this collection as a List. |
asIEnumerable() | Iterable<ISlide> | Returns this collection as an Iterable. |
addClone(ISlide sourceSlide) | ISlide | Adds a clone of the specified slide to the end of the collection. |
addClone(ISlide sourceSlide, ILayoutSlide destLayout) | ISlide | Adds a clone of the specified slide to the end of the collection, applying the specified destination layout. |
addClone(ISlide sourceSlide, IMasterSlide destMaster, boolean allowCloneMissingLayout) | ISlide | Adds a clone of the specified slide to the end of the collection, applying the specified master slide. |
insertClone(int index, ISlide sourceSlide) | ISlide | Inserts a clone of the specified slide at the given index. |
insertClone(int index, ISlide sourceSlide, ILayoutSlide destLayout) | ISlide | Inserts a clone of the specified slide at the given index, applying the specified destination layout. |
insertClone(int index, ISlide sourceSlide, IMasterSlide destMaster, boolean allowCloneMissingLayout) | ISlide | Inserts 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(int startIndex, int count) | ISlide[] | Returns an array of slides from the given range. |
addEmptySlide(ILayoutSlide layout) | ISlide | Adds a new empty slide to the end of the collection with the specified layout. |
insertEmptySlide(int index, ILayoutSlide layout) | ISlide | Inserts a new empty slide at the specified index with the given layout. |
remove(ISlide value) | void | Removes the first occurrence of the specified slide from the collection. |
removeAt(int index) | void | Removes the slide at the specified index. |
indexOf(ISlide slide) | int | Returns the zero-based index of the specified slide, or -1 if not found. |