com.aspose.slides
Class ImageEx

java.lang.Object
  extended by com.aspose.slides.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, encoded in BinaryData.
 int getHeight()
           Returns a height of an image.
 java.awt.image.BufferedImage 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
Returns:
Hash code.

getContentType

public java.lang.String getContentType()

Returns a MIME type of an image, encoded in BinaryData. Read-only string.


getBinaryData

public byte[] getBinaryData()

Returns the copy of an image's data. Read-only byte[].


getImage

public java.awt.image.BufferedImage getImage()

Returns the copy of an image. Read-only Image.


getWidth

public int getWidth()

Returns a width of an image. Read-only int.


getHeight

public int getHeight()

Returns a height of an image. Read-only int.


getX

public int getX()

Returns a X-offset of an image. Read-only int.


getY

public int getY()

Returns a Y-offset of an image. Read-only int.