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

NameTypeAccessDescription
countintReadGets the count.

Methods

SignatureDescription
getCount() → intReturns the count.
get(index: int) → ShapeCalls get(index) on this ShapeCollection instance.
add(upperLeftRow: int, upperLeftColumn: int, lowerRightRow: int, lowerRightColumn: int, shapeType: AutoShapeType) → intAdds a new shape and returns its zero-based index.
removeAt(index: int)Calls removeAt(index) on this ShapeCollection instance.

See Also

 English