IPPImage

public interface IPPImage

Represents an image in a presentation.

Methods

MethodDescription
getBinaryData()Returns the copy of an image’s data.
getSystemImage()Returns the copy of an image of the System.Drawing.Image type.
getImage()Returns the copy of an image.
getSvgImage()Returns or sets ISvgImage object ISvgImage
setSvgImage(ISvgImage value)Returns or sets ISvgImage object ISvgImage
replaceImage(byte[] newImageData)Replaces image data.
replaceImage(IImage newImage)Replaces image data.
replaceImage(IPPImage newImage)Replaces image.
getContentType()Returns a MIME type of an image, encoded in (#getBinaryData.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 Bitmap getSystemImage()

Returns the copy of an image of the System.Drawing.Image type. Read-only android.graphics.Bitmap.

Returns: android.graphics.Bitmap

getImage()

public abstract IImage getImage()

Returns the copy of an image. Read-only Image (#getImage.getImage).

Returns: IImage

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:

ParameterTypeDescription
valueISvgImage

replaceImage(byte[] newImageData)

public abstract void replaceImage(byte[] newImageData)

Replaces image data.

Parameters:

ParameterTypeDescription
newImageDatabyte[]The new image’s data.

replaceImage(IImage newImage)

public abstract void replaceImage(IImage newImage)

Replaces image data. Attention: when Image is metafile - it will be rasterized. Use replaceImage(byte[]) instead

Parameters:

ParameterTypeDescription
newImageIImageThe new image.

replaceImage(IPPImage newImage)

public abstract void replaceImage(IPPImage newImage)

Replaces image.

Parameters:

ParameterTypeDescription
newImageIPPImageThe new IPPImage.

getContentType()

public abstract String getContentType()

Returns a MIME type of an image, encoded in (#getBinaryData.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