com.aspose.slides.pptx
Class ImageEx

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

public class ImageEx
extends java.lang.Object

Represents an image in a presentation.


Method Summary
 byte[] getBinaryData()
          Returns the copy of an image's data.
 java.lang.String getContentType()
          Returns a MIME type of an image.
 java.awt.geom.Point2D.Float getDpi()
           
 int getHeight()
           
 java.awt.image.RenderedImage getImage()
          Returns the copy of an image.
 int getWidth()
           
 int hashCode()
          Returns the hash code of an image.
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Returns the hash code of an image.

Overrides:
hashCode in class java.lang.Object

getContentType

public java.lang.String getContentType()
Returns a MIME type of an image.


getBinaryData

public byte[] getBinaryData()
Returns the copy of an image's data.


getImage

public java.awt.image.RenderedImage getImage()
                                      throws java.io.IOException
Returns the copy of an image.

Throws:
java.io.IOException

getWidth

public int getWidth()

getHeight

public int getHeight()

getDpi

public java.awt.geom.Point2D.Float getDpi()