|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.PrstGeomShapeCollection
public class PrstGeomShapeCollection
Constructor Summary | |
---|---|
PrstGeomShapeCollection(java.lang.Object parent)
|
Method Summary | |
---|---|
void |
addCopy(IPrstGeomShape source)
|
IGeomPathShape |
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 |
---|
public PrstGeomShapeCollection(java.lang.Object parent)
Method Detail |
---|
public IPrstGeomShape get(int index)
IPrstGeomShapes
get
in interface IPrstGeomShapes
index
- Item's index to get.
public IPrstGeomShape get(java.lang.String name)
get
in interface IPrstGeomShapes
public IPrstGeomShape[] getByPrstGeomShapeType(PrstGeomShapeType shapeType)
getByPrstGeomShapeType
in interface IPrstGeomShapes
public IGeomPathShape addNotPrimitiveShape(int row, int column, int width, int height)
addNotPrimitiveShape
in interface IPrstGeomShapes
public IPrstGeomShape addPrstGeomShape(int row, int column, int width, int height, PrstGeomShapeType shapeType)
addPrstGeomShape
in interface IPrstGeomShapes
row
- shape's first row number in worksheetcolumn
- shape's first column number in worksheetwidth
- shape's widthheight
- shape's heightshapeType
- shape's type
public void addCopy(IPrstGeomShape source)
public void removeAt(int index)
removeAt
in class com.spire.ms.System.Collections.CollectionBase
index
- public void remove(IShape shape)
shape
- the shape to remove
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |