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()
          Returns a height of an image.
 java.awt.image.RenderedImage getImage()
          Returns the copy of an image.
 int getWidth()
          Returns a width of an image.
 int getX()
          Returns a X-offset of an image.
 int getY()
          Returns a Y-offset of an image.
 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()
Returns a width of an image.


getHeight

public int getHeight()
Returns a height of an image.


getX

public int getX()
Returns a X-offset of an image.


getY

public int getY()
Returns a Y-offset of an image.


getDpi

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