prstgeomshapecollection-j9官方网址
com.spire.xls.core.spreadsheet.collections
class prstgeomshapecollection
java.lang.object
com.spire.ms.system.collections.collectionbase
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
prstgeomshapecollection
public prstgeomshapecollection(java.lang.object parent)
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 worksheetcolumn - shape's first column number in worksheetwidth - shape's widthheight - shape's heightshapetype - 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