|
||||||||
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)
Add an image to a presentation from stream. |
IPPImage |
addImage(IPPImage imageSource)
Adds a copy of an image from an another presentation. |
void |
copyTo(IPPImage[] 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. |
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object. |
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.
Read-only int
.
size
in interface IGenericCollection<IPPImage>
public IPPImage get_Item(int index)
Gets the element at the specified index.
Read-only IPPImage
.
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)
IImageCollection
Add an image to a presentation from stream.
addImage
in interface IImageCollection
stream
- Stream to add image from.
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(IPPImage[] array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface IGenericCollection<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).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IPPImage>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IPPImage>
public com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |