|
||
| 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.TextBoxes
public class TextBoxes
Encapsulates a collection of TextBox objects.
| Method Summary | |
|---|---|
int |
add(int row,
int column,
int width,
int height)
Adds a text box to the collection. |
int |
add(int row,
int column,
int left,
int top,
int width,
int height)
Adds a text box to the text boxes collection. |
int |
addInChart(int left,
int top,
int width,
int height)
Adds a text box to the text boxes collection. |
TextBox |
get(int index)
Gets text box object by index. |
int |
size()
Gets number of text boxs 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 row,
int column,
int width,
int height)
row - row index.column - column index.width - height of textbox, in unit of pixel.height - width of textbox, in unit of pixel.
java.lang.IllegalArgumentException - if row or column index is out of range.
CellsException - if the textbox collection has been removed from the worksheet.add(int, int, int, int, int, int)
public int add(int row,
int column,
int left,
int top,
int width,
int height)
row - row index.column - column index.left - the horizontal offset of textbox from the left corner of the chart, in unit of pixel.top - the vertical offset of textbox from the left corner of the chart, in unit of pixel.width - height of textbox, in unit of pixel.height - width of textbox, in unit of pixel.
java.lang.IllegalArgumentException - if row or column index is out of range.
CellsException - if the textbox collection has been removed from the worksheet.
public int addInChart(int left,
int top,
int width,
int height)
left - the horizontal offset of textbox from the left corner of the chart, in units of 1/4000 of the chart area.top - the vertical offset of textbox from the left corner of the chart, in units of 1/4000 of the chart area.width - height of textbox, in units of 1/4000 of the chart area.height - width of textbox, in units of 1/4000 of the chart area.
CellsException - if the textbox collection has been removed from the worksheet.public TextBox get(int index)
index - text box object index.
java.lang.IllegalArgumentException - if index is out of range.
CellsException - if the text box collection has been removed from the worksheet.public int size()
CellsException - if the text box collection has been removed from the worksheet.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||