ShapeCollection

ShapeCollection

Overview

ShapeCollection is a class in Aspose.Cells FOSS for Php. Inherits from: \ArrayAccess, \Countable.

ShapeCollection enables adding geometric shapes to a worksheet with Add(upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn, shapeType) and removing them via RemoveAt(index).

This class declares 10 methods for ShapeCollection objects in Php programs. Available methods include: Add, RemoveAt, __construct, __get, __set, count, offsetExists, offsetGet, offsetSet, offsetUnset. Public members are accessible to any Php application after installing the Aspose.Cells FOSS for Php package.

Methods

SignatureDescription
__construct(worksheetModel: WorksheetModel)Calls __construct(worksheetModel) on this ShapeCollection instance.
__get(propertyName)Calls __get(propertyName) on this ShapeCollection instance.
__set(propertyName, value)Calls __set(propertyName, value) on this ShapeCollection instance.
count() → intCalls count on this ShapeCollection instance.
offsetExists(offset) → boolCalls offsetExists(offset) on this ShapeCollection instance.
offsetGet(offset) → mixedCalls offsetGet(offset) on this ShapeCollection instance.
offsetSet(offset, value)Calls offsetSet(offset, value) on this ShapeCollection instance.
offsetUnset(offset)Calls offsetUnset(offset) on this ShapeCollection instance.
Add(upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn, shapeType)Calls Add(upperLeftRow, upperLeftColumn, lowerRightRow, lowerRightColumn, shapeType) on this ShapeCollection instance.
RemoveAt(index)Calls RemoveAt(index) on this ShapeCollection instance.

See Also