![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.Pictures
public class Pictures
Encapsulates a collection of Picture objects.
Method Summary | |
---|---|
int |
add(int startRow,
int startColumn,
java.io.InputStream inputStream)
Deprecated. Replaced by Shapes.addPicture(int, int, InputStream) |
int |
add(int startRow,
int startColumn,
java.io.InputStream inputStream,
int widthScale,
int heightScale)
Deprecated. Replaced by Shapes.addPicture(int, int, InputStream, int, int) |
int |
add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.io.InputStream inputStream)
Deprecated. Replaced by Shapes.addPicture(int, int, int, int, InputStream) |
int |
add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.lang.String fileName)
Deprecated. Replaced by Shapes.addPicture(int, int, int, int, String) |
int |
add(int startRow,
int startColumn,
java.lang.String fileName)
Deprecated. Replaced by Shapes.addPicture(int, int, String) |
int |
add(int startRow,
int startColumn,
java.lang.String fileName,
int widthScale,
int heightScale)
Deprecated. Replaced by Shapes.addPicture(int, int, String, int, int) |
Picture |
get(int index)
Gets Picture object by index. |
int |
size()
Gets number of pictures in the worksheet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add(int startRow, int startColumn, int endRow, int endColumn, java.lang.String fileName)
Shapes.addPicture(int, int, int, int, String)
BMP |
JPEG |
PNG |
GIF |
WMF |
EMF |
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.endRow
- row index of the bottom right cell.endColumn
- column index of the bottom right cell.fileName
- Image filename.
java.lang.IllegalArgumentException
- if the file is not exsiting.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int add(int startRow, int startColumn, int endRow, int endColumn, java.io.InputStream inputStream)
Shapes.addPicture(int, int, int, int, InputStream)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.endRow
- row index of the bottom right cell.endColumn
- column index of the bottom right cell.inputStream
- Stream object which contains the image data.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int add(int startRow, int startColumn, java.io.InputStream inputStream, int widthScale, int heightScale)
Shapes.addPicture(int, int, InputStream, int, int)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.inputStream
- Stream object which contains the image data.widthScale
- Scale of image width, a percentage.heightScale
- Scale of image height, a percentage.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int add(int startRow, int startColumn, java.lang.String fileName, int widthScale, int heightScale)
Shapes.addPicture(int, int, String, int, int)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.fileName
- Image filename.widthScale
- Scale of image width, a percentage.heightScale
- Scale of image height, a percentage.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int add(int startRow, int startColumn, java.io.InputStream inputStream)
Shapes.addPicture(int, int, InputStream)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.inputStream
- Stream object which contains the image data.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int add(int startRow, int startColumn, java.lang.String fileName)
Shapes.addPicture(int, int, String)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.fileName
- Image filename.
java.lang.IllegalArgumentException
- if image foramt is not supported.
CellsException
- if worksheet has bean removed.public int size()
CellsException
- if worksheet has bean removed.public Picture get(int index)
index
- Picture object index.
java.lang.IllegalArgumentException
- if index is out of range.
CellsException
- if worksheet has bean removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |