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 this 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 this 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 this collection.

Returns:
The number of elements in this collection.

get

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

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

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 this collection.

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