![]() |
||
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.Picture
public class Picture
Encapsulates the object that represents a single picture in a spreadsheet.
Method Summary | |
---|---|
int |
getPlacement()
Gets the way the picture is attached to the cells below it. |
void |
move(int startRow,
int startColumn)
Moves the picture to a specified location. |
void |
move(int startRow,
int startColumn,
int endRow,
int endColumn)
Moves the picture to a specified location. |
void |
setPlacement(byte placementType)
Sets the way the picture is attached to the cells below it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPlacement()
ExcelException
- if pictures Object has bean removed.setPlacement(byte)
public void setPlacement(byte placementType)
placementType
- the way the picture is attached to the cells below it.
It could be one of the following values:
PlacementType.FREE_FLOATING |
PlacementType.MOVE |
PlacementType.MOVE_AND_SIZE |
ExcelException
- if pictures Object has bean removed.
java.lang.IllegalArgumentException
- if placementType is not member of PlacementTypepublic void move(int startRow, int startColumn, int endRow, int endColumn)
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.
ExcelException
- if pictures Object has bean removed.
java.lang.IllegalArgumentException
- if row or column index is out of range.public void move(int startRow, int startColumn)
startRow
- row index of the top left cell.startColumn
- column index of the top left cell.
ExcelException
- if pictures Object has bean removed.
java.lang.IllegalArgumentException
- if row or column index is out of range.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |