com.aspose.slides.pptx
Class ImagesEx

java.lang.Object
  extended by com.aspose.slides.pptx.ImagesEx

public class ImagesEx
extends java.lang.Object

Represents images in a presentation.


Method Summary
 ImageEx addImage(com.aspose.slides.escher.EsBlip blip)
           
 ImageEx addImage(ImageEx image)
          Adds a copy of an image from an another presentation.
 ImageEx addImage(java.io.InputStream stream)
          Add an image to a presentation from stream.
 ImageEx addImage(java.awt.image.RenderedImage image)
          Add an image to a presentation.
 ImageEx get(int index)
          Gets the element at the specified index.
 java.util.Iterator getEnumerator()
           
static void resaveImageAsPng(ImageEx value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public ImageEx get(int index)
Gets the element at the specified index.

Parameters:
index -

addImage

public ImageEx addImage(ImageEx image)
                 throws java.io.IOException
Adds a copy of an image from an another presentation.

Parameters:
image - Image to Add
Returns:
Added image
Throws:
java.io.IOException

addImage

public ImageEx addImage(java.awt.image.RenderedImage image)
Add an image to a presentation.

Parameters:
image - Image to add.
Returns:
Added image.

addImage

public ImageEx addImage(java.io.InputStream stream)
Add an image to a presentation from stream. This method can add WMF/EMF metafiles to a presentation without converting them to raster PNG image.

Parameters:
stream - - Stream to add image from.
Returns:
Added image.

addImage

public ImageEx addImage(com.aspose.slides.escher.EsBlip blip)

resaveImageAsPng

public static void resaveImageAsPng(ImageEx value)

getEnumerator

public java.util.Iterator getEnumerator()