|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ImageCollection
public final class ImageCollection
Represents collection of PPImage.
Method Summary | |
---|---|
IPPImage |
addImage(java.awt.image.BufferedImage image)
Add an image to a presentation. |
IPPImage |
addImage(byte[] buffer)
|
IPPImage |
addImage(java.io.InputStream stream)
|
IPPImage |
addImage(IPPImage imageSource)
Adds a copy of an image from an another presentation. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
IPPImage |
get_Item(int index)
Gets the element at the specified index. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IPPImage> |
iterator()
Returns an enumerator that iterates through the collection. |
int |
size()
Returns a number of images in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Returns a number of images in the collection.
size
in interface com.aspose.ms.System.Collections.ICollection<IPPImage>
public IPPImage get_Item(int index)
Gets the element at the specified index.
Read-only PPImage
.
get_Item
in interface IImageCollection
public IPPImage addImage(IPPImage imageSource)
Adds a copy of an image from an another presentation.
addImage
in interface IImageCollection
imageSource
- Source image.
public IPPImage addImage(java.awt.image.BufferedImage image)
Add an image to a presentation.
addImage
in interface IImageCollection
image
- Image to add.
public IPPImage addImage(java.io.InputStream stream)
addImage
in interface IImageCollection
public IPPImage addImage(byte[] buffer)
addImage
in interface IImageCollection
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IPPImage> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IPPImage>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IPPImage>
iterator
in interface java.lang.Iterable<IPPImage>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.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<IPPImage>
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<IPPImage>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IPPImage>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |