textboxcollection-ag凯发旗舰厅
com.spire.xls.core.spreadsheet.collections
class textboxcollection
java.lang.object
com.spire.ms.system.collections.collectionbase
com.spire.xls.core.spreadsheet.collections.textboxcollection
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, itextboxes, java.lang.iterable
public class textboxcollection
- extends
- implements itextboxes
textboxcollection
public textboxcollection(java.lang.object parent)
getcount
public int getcount()
- specified by:
getcount
in interface itextboxes
get
public itextboxlinkshape get(int index)
- returns single item from the collection.
- specified by:
get
in interface itextboxes
- parameters:
index
- index of the item to get.
- returns:
- single item from the collection.
get
public itextboxlinkshape get(java.lang.string name)
- gets single item from the collection.
- specified by:
get
in interface itextboxes
- parameters:
name
- name of the item to get.
- returns:
- single item from the collection.
addcopy
public void addcopy(itextboxlinkshape textboxsource)
addtextbox
public itextboxlinkshape addtextbox(int row,
int column,
int height,
int width)
- adds new textbox to the collection.
- specified by:
addtextbox
in interface itextboxes
- parameters:
row
- top row for the new shape.column
- left column for the new shape.height
- height in pixels of the new shape.width
- width in pixels of the new shape.
- returns:
- newly created textbox object.