![]() |
||
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)
Deprecated. replaced by Shapes.addTextBox(int, int, int, int, int, int) |
int |
add(int row,
int column,
int left,
int top,
int width,
int height)
Deprecated. replaced by Shapes.addTextBox(int, int, int, int, int, int) |
int |
addInChart(int left,
int top,
int width,
int height)
Deprecated. replaced by Shapes.addTextBoxInChart(int, int, int, int) |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int add(int row, int column, int width, int height)
Shapes.addTextBox(int, int, int, int, int, int)
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.
java.lang.UnsupportedOperationException
- if TextBoxes object belongs to Chartadd(int, int, int, int, int, int)
public int add(int row, int column, int left, int top, int width, int height)
Shapes.addTextBox(int, int, int, int, int, int)
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.
java.lang.UnsupportedOperationException
- if TextBoxes object belongs to Chartpublic int addInChart(int left, int top, int width, int height)
Shapes.addTextBoxInChart(int, int, int, int)
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.
java.lang.UnsupportedOperationException
- if TextBoxes object doesn't belong to Chartpublic 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 |