com.aspose.slides
Class Pictures

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

public final class Pictures
extends java.lang.Object

Represents the collection of a Pictures.


Method Summary
 int add(Picture picture)
          Adds the picture at the end of a collection.
 Picture get(int index)
          Returns the element at the specified index.
 Picture getPictureById(int id)
          Returns the Picture by its Id.
 int size()
          Returns the number of elements in a 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 a collection.


get

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

Parameters:
index - index of element to return.

getPictureById

public Picture getPictureById(int id)
Returns the Picture by its Id.

Parameters:
id - picture's Id.
Returns:
The Picture object or null if picture was not found.

add

public int add(Picture picture)
Adds the picture at the end of a collection.

Parameters:
picture - the Picture to be added at the end of this collection.
Returns:
The unique Id of the added picture.