|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.PPImage
public class PPImage
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 |
getSystemImage()
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. |
void |
replaceImage(byte[] newImageData)
Replaces image data. |
void |
replaceImage(IPPImage newImage)
Replaces image data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int hashCode()
Returns the hash code of an image.
hashCode
in class java.lang.Object
public java.lang.String getContentType()
Returns a MIME type of an image, encoded in BinaryData
.
Read-only String
.
getContentType
in interface IPPImage
public byte[] getBinaryData()
Returns the copy of an image's data.
Read-only byte[]
.
getBinaryData
in interface IPPImage
public java.awt.image.BufferedImage getSystemImage()
Returns the copy of an image.
Read-only Image
.
getSystemImage
in interface IPPImage
public void replaceImage(byte[] newImageData)
Replaces image data.
replaceImage
in interface IPPImage
newImageData
- The new image's data.
com.aspose.ms.System.ArgumentNullException
- When newImageData parameter is null.public void replaceImage(IPPImage newImage)
Replaces image data.
replaceImage
in interface IPPImage
newImage
- The new IPPImage.
com.aspose.ms.System.ArgumentNullException
- When newImage parameter is null.public int getWidth()
Returns a width of an image.
Read-only int
.
getWidth
in interface IPPImage
public int getHeight()
Returns a height of an image.
Read-only int
.
getHeight
in interface IPPImage
public int getX()
Returns a X-offset of an image.
Read-only int
.
getX
in interface IPPImage
public int getY()
Returns a Y-offset of an image.
Read-only int
.
getY
in interface IPPImage
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |