ShapeCollection
Overview
ShapeCollection is a class in Aspose.Cells FOSS for Java.
Collection of drawing objects (shapes) on a worksheet.
This class declares 4 methods for ShapeCollection objects in Java programs.
Available methods include: add, get, getCount, removeAt.
Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Returns the count. |
get(index: int) → Shape | Calls get(index) on this ShapeCollection instance. |
add(upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int, shapeType: AutoShapeType) → int | Adds a new shape and returns its zero-based index. |
removeAt(index: int) | Calls removeAt(index) on this ShapeCollection instance. |