com.aspose.slides
Class Slides

java.lang.Object
  extended by com.aspose.slides.Slides

public final class Slides
extends java.lang.Object

Represents the collection of a slides.


Method Summary
 Slide get(int index)
          Returns the element at the specified index.
 int getLastSlidePosition()
          Returns the position of the last slide in a presentation.
 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()
          Returns the number of elements 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()
Returns the number of elements in the collection.

Returns:
The number of elements in the collection.

get

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

Parameters:
index - index of element to return.
Returns:
The element at the specified index.

remove

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

Parameters:
value - the Slide to remove from the collection.
Throws:
PptPropertyException

removeAt

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

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

getLastSlidePosition

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

Returns:
The position of the last slide.