|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelImage
This class stores image information like image path and position in worksheet.
Constructor Summary | |
ExcelImage()
Defines an instance of the image. |
|
ExcelImage(System.String path)
Defines an instance of the image having the specified path. |
|
ExcelImage(System.String path,
int row,
int column)
Defines an instance of the image having the specified path and location This constructor is applicable only to adding images to ExcelWorksheet objects |
|
ExcelImage(System.String path,
int row,
int column,
int width,
int height)
Defines an instance of the image having the specified path, location and size This constructor is applicable only to adding images to ExcelWorksheet objects |
|
ExcelImage(System.String path,
System.String position)
Defines an instance of the image having the specified path and location This constructor is applicable only to adding images to ExcelWorksheet objects |
|
ExcelImage(System.String path,
System.String position,
int width,
int height)
Defines an instance of the image having the specified path, location and size This constructor is applicable only to adding images to ExcelWorksheet objects |
Method Summary | |
ExcelImage |
Clone()
Creates and returns a copy of this object. |
ActiveXLS.BIFF_Records.Drawing_Records.BSE |
getBSEImage()
Internal use only. |
int |
getHeight()
Returns the image height. |
int |
getHorizontalOffset()
Returns the image horizontal offset |
System.String |
getImagePath()
Returns the file path to image file. |
int |
getLeftUpperCornerColumn()
Returns the column number where the left upper corner of the image is anchored This method is applicable only to adding images to ExcelWorksheet objects |
int |
getLeftUpperCornerRow()
Returns the row number where the left upper corner of the image is anchored This method is applicable only to adding images to ExcelWorksheet objects |
int |
getVerticalOffset()
Returns the image vertical offset |
int |
getWidth()
Returns the image width. |
void |
setBSEImage(ActiveXLS.BIFF_Records.Drawing_Records.BSE image)
Internal use only Sets the BSE record. |
void |
setImagePath(System.String path)
Sets the file path to image file. |
void |
setLeftUpperCorner(int row,
int column)
Sets the left upper corner of the image This method is applicable only to adding images to ExcelWorksheet objects |
void |
setLeftUpperCorner(System.String cellReference)
Sets the left upper corner of the image This method is applicable only to adding images to ExcelWorksheet objects |
void |
setLeftUpperOffset(int horizontalOffset,
int verticalOffset)
Sets the left upper corner offsets of the image. |
void |
setSize(int imageWidth,
int imageHeight)
Sets the image size. |
Constructor Detail |
public ExcelImage()
public ExcelImage(System.String path)
path
- the file path to image filepublic ExcelImage(System.String path, int row, int column)
This constructor is applicable only to adding images to ExcelWorksheet objects
path
- the file path to image filerow
- the row number where the left upper corner of the image is anchoredcolumn
- the column number where the left upper corner of the image is anchoredpublic ExcelImage(System.String path, int row, int column, int width, int height)
This constructor is applicable only to adding images to ExcelWorksheet objects
path
- the file path to image filerow
- the row number where the left upper corner of the image is anchoredcolumn
- the column number where the left upper corner of the image is anchoredwidth
- the image widthheight
- the image heightpublic ExcelImage(System.String path, System.String position)
This constructor is applicable only to adding images to ExcelWorksheet objects
path
- the file path to image fileposition
- the cell reference where the left upper corner of the image is anchoredpublic ExcelImage(System.String path, System.String position, int width, int height)
This constructor is applicable only to adding images to ExcelWorksheet objects
path
- the file path to image fileposition
- the cell reference where the left upper corner of the image is anchoredwidth
- the image widthheight
- the image heightMethod Detail |
public ActiveXLS.BIFF_Records.Drawing_Records.BSE getBSEImage()
setBSEImage(ActiveXLS.BIFF_Records.Drawing_Records.BSE)
public void setBSEImage(ActiveXLS.BIFF_Records.Drawing_Records.BSE image)
image
- the BSE recordgetBSEImage()
public System.String getImagePath()
setImagePath(System.String)
public void setImagePath(System.String path)
path
- the file path to image filegetImagePath()
public void setLeftUpperCorner(int row, int column)
This method is applicable only to adding images to ExcelWorksheet objects
row
- the row number where the left upper corner of the image is anchoredcolumn
- the column number where the left upper corner of the image is anchoredsetLeftUpperCorner(String)
,
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getLeftUpperCornerRow()
,
getLeftUpperCornerColumn()
public void setLeftUpperCorner(System.String cellReference)
This method is applicable only to adding images to ExcelWorksheet objects
cellReference
- the cell reference where the left upper corner of the image is anchoredsetLeftUpperCorner(int,int)
,
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getLeftUpperCornerRow()
,
getLeftUpperCornerColumn()
public int getLeftUpperCornerRow()
This method is applicable only to adding images to ExcelWorksheet objects
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getLeftUpperCornerColumn()
public int getLeftUpperCornerColumn()
This method is applicable only to adding images to ExcelWorksheet objects
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getLeftUpperCornerRow()
public void setLeftUpperOffset(int horizontalOffset, int verticalOffset)
horizontalOffset
- represents the distance from the left border of the cell to the left border of the image if ExcelImage is added to an ExcelWorksheet;if it is added to an ExcelChartSheet object, it will be the distance from the left margin of the chart to the left border of the imageverticalOffset
- represents the distance from the top border of the cell to the top border of the image if ExcelImage is added to an ExcelWorksheet; if it is added to an ExcelChartSheet object, it will be the distance from the left margin of the chart to the top border of the imagesetLeftUpperCorner(String)
,
setLeftUpperCorner(int,int)
,
setSize(int, int)
public void setSize(int imageWidth, int imageHeight)
imageWidth
- the image widthimageHeight
- the image heightsetLeftUpperCorner(String)
,
setLeftUpperCorner(int,int)
,
setLeftUpperOffset(int, int)
public int getHeight()
setSize(int, int)
,
setLeftUpperCorner(String)
,
setLeftUpperCorner(int,int)
,
getWidth()
public int getWidth()
setSize(int, int)
,
setLeftUpperCorner(String)
,
setLeftUpperCorner(int,int)
,
getHeight()
public int getHorizontalOffset()
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getVerticalOffset()
public int getVerticalOffset()
setLeftUpperOffset(int, int)
,
setSize(int, int)
,
getHorizontalOffset()
public ExcelImage Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |