ShapeCollection
Overview
ShapeCollection is a class in Aspose.Cells FOSS for Java.
Collection of drawing objects (shapes) on a worksheet.
This class provides 4 methods for working with ShapeCollection objects in Java programs.
Available methods include: add, get, getCount, removeAt.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: count.
Description
ShapeCollection is a class in the Aspose.Cells FOSS library for Java that exposes 4 methods and 1 property for programmatic use.
The class also provides the count property (gets the count).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Returns the count. |
get(index: int) → Shape | |
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) |