|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Pictures
com.aspose.slides.PictureCollection
public final class PictureCollection
Represents a collection of a Pictures.
Method Summary | |
---|---|
int |
add(Picture picture)
Adds a Picture to the end of a collection. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
Picture |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
Picture |
getPictureById(int id)
Returns the Picture by its Id. |
java.lang.Object |
getSyncRoot()
Returns synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator<Picture> |
iterator()
Returns an enumerator for the entire collection. |
static void |
replaceInShapes(Picture src,
Picture dst)
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<Picture>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<Picture>
public java.lang.Object getSyncRoot()
Returns synchronization root.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<Picture>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<Picture>
public int getCount()
Pictures
Gets the number of elements actually contained in the collection.
getCount
in class Pictures
public Picture get_Item(int index)
Pictures
Gets the element at the specified index.
get_Item
in class Pictures
public Picture getPictureById(int id)
Pictures
Returns the Picture by its Id.
getPictureById
in class Pictures
id
- Picture's Id.
Aspose.Slides.Picture
object or <b>null</b>
if Picture not found.public int add(Picture picture)
Pictures
Adds a Picture to the end of a collection.
add
in class Pictures
picture
- The Picture to be added to the end of the collection.
public static void replaceInShapes(Picture src, Picture dst)
public com.aspose.ms.System.Collections.IEnumerator<Picture> iterator()
Pictures
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Picture>
iterator
in interface java.lang.Iterable<Picture>
iterator
in class Pictures
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |