|
||
| 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)
Adds a picture to the collection. |
int |
add(int startRow,
int startColumn,
java.io.InputStream inputStream,
int widthScale,
int heightScale)
Adds a picture to the collection. |
int |
add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.io.InputStream inputStream)
Adds a picture to the collection. |
int |
add(int startRow,
int startColumn,
int endRow,
int endColumn,
java.lang.String fileName)
Adds a picture to the collection. |
int |
add(int startRow,
int startColumn,
java.lang.String fileName)
Adds a picture to the collection. |
int |
add(int startRow,
int startColumn,
java.lang.String fileName,
int widthScale,
int heightScale)
Adds a picture to the collection. |
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 |
|---|
clone, equals, finalize, 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)
| 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)
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.add(int, int, int, int, String)
public int add(int startRow,
int startColumn,
java.io.InputStream inputStream,
int widthScale,
int heightScale)
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.add(int, int, int, int, String)
public int add(int startRow,
int startColumn,
java.lang.String fileName,
int widthScale,
int heightScale)
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.add(int, int, int, int, String)
public int add(int startRow,
int startColumn,
java.io.InputStream 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.add(int, int, int, int, String)
public int add(int startRow,
int startColumn,
java.lang.String fileName)
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.add(int, int, int, int, String)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 | |||||||