prstgeomshapecollection-ag凯发旗舰厅



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

java.lang.object
  extended by com.spire.ms.system.collections.collectionbase
      extended by 
          extended by com.spire.xls.core.spreadsheet.collections.prstgeomshapecollection
all implemented interfaces:
com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, iprstgeomshapes, java.lang.iterable

public class prstgeomshapecollection
extends
implements iprstgeomshapes

constructor summary
prstgeomshapecollection(java.lang.object parent)
           
 
method summary
 void addcopy(iprstgeomshape source)
           
  addnotprimitiveshape(int row, int column, int width, int height)
           
 iprstgeomshape addprstgeomshape(int row, int column, int width, int height, prstgeomshapetype shapetype)
          add a preset shape to prstgeomshape collection;
 iprstgeomshape get(int index)
          returns single item from the collection.
 iprstgeomshape get(java.lang.string name)
           
 iprstgeomshape[] getbyprstgeomshapetype(prstgeomshapetype shapetype)
           
 void remove(ishape shape)
          remove a shape in collection;
 void removeat(int index)
          remove item by index based 0;
 
methods inherited from interface com.spire.xls.core.iprstgeomshapes
getcount
 
constructor detail

prstgeomshapecollection

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

get

public iprstgeomshape get(int index)
description copied from interface: iprstgeomshapes
returns single item from the collection.
specified by:
get in interface iprstgeomshapes
parameters:
index - item's index to get.
returns:
single item from the collection.

get

public iprstgeomshape get(java.lang.string name)
specified by:
get in interface iprstgeomshapes

getbyprstgeomshapetype

public iprstgeomshape[] getbyprstgeomshapetype(prstgeomshapetype shapetype)
specified by:
getbyprstgeomshapetype in interface iprstgeomshapes

addnotprimitiveshape

public  addnotprimitiveshape(int row,
                                           int column,
                                           int width,
                                           int height)
specified by:
addnotprimitiveshape in interface iprstgeomshapes

addprstgeomshape

public iprstgeomshape addprstgeomshape(int row,
                                       int column,
                                       int width,
                                       int height,
                                       prstgeomshapetype shapetype)
add a preset shape to prstgeomshape collection;
specified by:
addprstgeomshape in interface iprstgeomshapes
parameters:
row - shape's first row number in worksheet
column - shape's first column number in worksheet
width - shape's width
height - shape's height
shapetype - shape's type
returns:

addcopy

public void addcopy(iprstgeomshape source)

removeat

public void removeat(int index)
remove item by index based 0;
overrides:
removeat in class com.spire.ms.system.collections.collectionbase
parameters:
index -

remove

public void remove(ishape shape)
remove a shape in collection;
parameters:
shape - the shape to remove


网站地图