com.aspose.slides
Class Slides

java.lang.Object
  extended by com.aspose.slides.Slides
All Implemented Interfaces:
java.lang.Iterable<Slide>

public final class Slides
extends java.lang.Object
implements java.lang.Iterable<Slide>

Represents a collection of a slides.


Method Summary
 Slide get(int index)
          Gets the element at the specified index.
 int getLastSlidePosition()
          Returns the position of the last slide in a presentation.
 java.util.Iterator iterator()
          Returns an enumerator for the entire collection.
 void remove(Slide value)
          Removes the first occurrence of a specific object from the collection.
 void removeAt(int index)
          Removes the element at the specified index of the collection.
 int size()
          Gets the number of elements actually contained in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the number of elements actually contained in the collection.


get

public Slide get(int index)
Gets the element at the specified index.


remove

public void remove(Slide value)
Removes the first occurrence of a specific object from the collection.

Parameters:
value - - The Slide to remove from the collection.

removeAt

public void removeAt(int index)
Removes the element at the specified index of the collection.

Parameters:
index - - The zero-based index of the element to remove.

iterator

public java.util.Iterator iterator()
Returns an enumerator for the entire collection.

Specified by:
iterator in interface java.lang.Iterable<Slide>

getLastSlidePosition

public int getLastSlidePosition()
Returns the position of the last slide in a presentation.