jxl
Interface Image
- WritableImage
Accessor functions for an image
double | getColumn() - Accessor for the image position
|
double | getHeight() - Accessor for the image dimensions
|
double | getHeight(common.LengthUnit unit) - Get the height of this image as rendered within Excel
|
double | getHorizontalResolution(common.LengthUnit unit) - Gets the horizontal resolution of the image, if that information
is available.
|
byte[] | getImageData() - Accessor for the image data
|
File | getImageFile() - Accessor for the image file
|
int | getImageHeight() - Gets the height of the image.
|
int | getImageWidth() - Gets the width of the image.
|
double | getRow() - Accessor for the image position
|
double | getVerticalResolution(common.LengthUnit unit) - Gets the vertical resolution of the image, if that information
is available.
|
double | getWidth() - Accessor for the image dimensions
|
double | getWidth(common.LengthUnit unit) - Get the width of this image as rendered within Excel
|
getColumn
public double getColumn()
Accessor for the image position
- the column number at which the image is positioned
getHeight
public double getHeight()
Accessor for the image dimensions
- the number of rows which this image spans
getHeight
public double getHeight(common.LengthUnit unit)
Get the height of this image as rendered within Excel
unit
- the unit of measurement
- the height of the image within Excel
getHorizontalResolution
public double getHorizontalResolution(common.LengthUnit unit)
Gets the horizontal resolution of the image, if that information
is available.
- the number of dots per unit specified, if available, 0 otherwise
getImageData
public byte[] getImageData()
Accessor for the image data
getImageFile
public File getImageFile()
Accessor for the image file
- the file which the image references
getImageHeight
public int getImageHeight()
Gets the height of the image. Note that this is the height of the
underlying image, and does not take into account any size manipulations
that may have occurred when the image was added into Excel
- the image height in pixels
getImageWidth
public int getImageWidth()
Gets the width of the image. Note that this is the width of the
underlying image, and does not take into account any size manipulations
that may have occurred when the image was added into Excel
- the image width in pixels
getRow
public double getRow()
Accessor for the image position
- the row number at which the image is positioned
getVerticalResolution
public double getVerticalResolution(common.LengthUnit unit)
Gets the vertical resolution of the image, if that information
is available.
- the number of dots per unit specified, if available, 0 otherwise
getWidth
public double getWidth()
Accessor for the image dimensions
- the number of columns this image spans
getWidth
public double getWidth(common.LengthUnit unit)
Get the width of this image as rendered within Excel
unit
- the unit of measurement
- the width of the image within Excel