OdImageObject

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject

public class OdImageObject extends OdGraphicObject

The open document image

Constructors

ConstructorDescription
OdImageObject(OdObject parent)Initializes a new instance of the OdImageObject class.

Methods

MethodDescription
getRectangle()Gets or sets the rectangle.
setRectangle(RectangleF value)Gets or sets the rectangle.
getImageLink()Gets or sets the image link.
setImageLink(String value)Gets or sets the image link.
getBitmap()Gets or sets the bitmap.
setBitmap(byte[] value)Gets or sets the bitmap.

OdImageObject(OdObject parent)

public OdImageObject(OdObject parent)

Initializes a new instance of the OdImageObject class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getRectangle()

public RectangleF getRectangle()

Gets or sets the rectangle.

Returns: RectangleF - The rectangle.

setRectangle(RectangleF value)

public void setRectangle(RectangleF value)

Gets or sets the rectangle.

Parameters:

ParameterTypeDescription
valueRectangleFThe rectangle.
public String getImageLink()

Gets or sets the image link.

Returns: java.lang.String - The image link.

public void setImageLink(String value)

Gets or sets the image link.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe image link.

getBitmap()

public byte[] getBitmap()

Gets or sets the bitmap.

Returns: byte[] - The bitmap.

setBitmap(byte[] value)

public void setBitmap(byte[] value)

Gets or sets the bitmap.

Parameters:

ParameterTypeDescription
valuebyte[]The bitmap.