com.aspose.slides
Interface IPPImage

All Known Implementing Classes:
PPImage

public interface IPPImage

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 of the System.Drawing.Image type.
 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.
 void replaceImage(byte[] newImageData)
           Replaces image data.
 void replaceImage(IPPImage newImage)
           Replaces image.
 

Method Detail

getBinaryData

byte[] getBinaryData()

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


getSystemImage

java.awt.image.BufferedImage getSystemImage()

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


replaceImage

void replaceImage(byte[] newImageData)

Replaces image data.

Parameters:
newImageData - The new image's data.


replaceImage

void replaceImage(IPPImage newImage)

Replaces image.

Parameters:
newImage - The new IPPImage.


getContentType

java.lang.String getContentType()

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


getWidth

int getWidth()

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


getHeight

int getHeight()

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


getX

int getX()

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


getY

int getY()

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



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.