PPImage

PPImage class

Represents an image in a presentation.

dispose

NameDescription
dispose()Disposes object.

getBinaryData

NameDescription
getBinaryData()Returns the copy of an image’s data. Read-only byte[].

Result: byte


getContentType

NameDescription
getContentType()Returns a MIME type of an image, encoded in BinaryData( #getBinaryData). Read-only String.

Result: String


getHeight

NameDescription
getHeight()Returns a height of an image. Read-only int.

Result: int


getSvgImage

NameDescription
getSvgImage()Returns or sets ISvgImage object ISvgImage This value indicates that this image has been created from SVG.

Result: SvgImage


getSystemImage

NameDescription
getSystemImage()Returns the copy of an image. Read-only java.awt.image.BufferedImage.

Result: BufferedImage


getWidth

NameDescription
getWidth()Returns a width of an image. Read-only int.

Result: int


getX

NameDescription
getX()Returns a X-offset of an image. Read-only int.

Result: int


getY

NameDescription
getY()Returns a Y-offset of an image. Read-only int.

Result: int


hashCode

NameDescription
hashCode()Returns the hash code of an image.

Result: int


replaceImage

NameDescription
replaceImage(byte[])Replaces image data.

Parameters:

NameTypeDescription
newImageDatabyte[]The new image’s data.

Error

ErrorCondition
ArgumentNullExceptionWhen newImageData parameter is null.

replaceImage

NameDescription
replaceImage(PPImage)Replaces image data.

Parameters:

NameTypeDescription
newImagePPImageThe new IPPImage.

Error

ErrorCondition
ArgumentNullExceptionWhen newImage parameter is null.

setSvgImage

NameDescription
setSvgImage(SvgImage)Returns or sets ISvgImage object ISvgImage This value indicates that this image has been created from SVG.