IPPImage

public interface IPPImage

Represents an image in a presentation.

Methods

Method Description
getBinaryData() Returns the copy of an image’s data.
getSystemImage() Returns the copy of an image of the System.Drawing.Image type.
getSvgImage() Returns or sets ISvgImage object ISvgImage
setSvgImage(ISvgImage value) Returns or sets ISvgImage object ISvgImage
replaceImage(byte[] newImageData) Replaces image data.
replaceImage(IPPImage newImage) Replaces image.
getContentType() Returns a MIME type of an image, encoded in (#getBinaryData).
getWidth() Returns a width of an image.
getHeight() Returns a height of an image.
getX() Returns a X-offset of an image.
getY() Returns a Y-offset of an image.

getBinaryData()

public abstract byte[] getBinaryData()

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

Returns: byte[]

getSystemImage()

public abstract BufferedImage getSystemImage()

Returns the copy of an image of the System.Drawing.Image type. Read-only BufferedImage.

Returns: java.awt.image.BufferedImage

getSvgImage()

public abstract ISvgImage getSvgImage()

Returns or sets ISvgImage object ISvgImage


This value indicates that this image has been created from SVG.

Returns: ISvgImage

setSvgImage(ISvgImage value)

public abstract void setSvgImage(ISvgImage value)

Returns or sets ISvgImage object ISvgImage


This value indicates that this image has been created from SVG.

Parameters:

Parameter Type Description
value ISvgImage

replaceImage(byte[] newImageData)

public abstract void replaceImage(byte[] newImageData)

Replaces image data.

Parameters:

Parameter Type Description
newImageData byte[] The new image’s data.

replaceImage(IPPImage newImage)

public abstract void replaceImage(IPPImage newImage)

Replaces image.

Parameters:

Parameter Type Description
newImage IPPImage The new IPPImage.

getContentType()

public abstract String getContentType()

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

Returns: java.lang.String

getWidth()

public abstract int getWidth()

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

Returns: int

getHeight()

public abstract int getHeight()

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

Returns: int

getX()

public abstract int getX()

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

Returns: int

getY()

public abstract int getY()

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

Returns: int