textboxcollection-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.collections
class textboxcollection

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by 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

constructor summary
textboxcollection(java.lang.object parent)
           
 
method summary
 void addcopy(itextboxlinkshape textboxsource)
           
 itextboxlinkshape addtextbox(int row, int column, int height, int width)
          adds new textbox to the collection.
 itextboxlinkshape get(int index)
          returns single item from the collection.
 itextboxlinkshape get(java.lang.string name)
          gets single item from the collection.
 int getcount()
           
 
constructor detail

textboxcollection

public textboxcollection(java.lang.object parent)
method detail

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.


网站地图