WorksheetCollection

WorksheetCollection

Overview

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

WorksheetCollection.Add(sheetName) creates a new worksheet with the given name and adds it to the workbook.

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

Methods

SignatureDescription
__construct(workbook: Workbook)Calls __construct(workbook) on this WorksheetCollection instance.
offsetExists(offset)Calls offsetExists(offset) on this WorksheetCollection instance.
offsetGet(offset)Calls offsetGet(offset) on this WorksheetCollection instance.
offsetSet(offset, value)Calls offsetSet(offset, value) on this WorksheetCollection instance.
offsetUnset(offset)Calls offsetUnset(offset) on this WorksheetCollection instance.
getIterator()Calls getIterator on this WorksheetCollection instance.
__get(propertyName)Calls __get(propertyName) on this WorksheetCollection instance.
__set(propertyName, value)Calls __set(propertyName, value) on this WorksheetCollection instance.
Add(sheetName)Creates a new worksheet with the given name and adds it to the workbook
RemoveAt(sheetNameOrIndex)Calls RemoveAt(sheetNameOrIndex) on this WorksheetCollection instance.
GetEnumerator()Calls GetEnumerator on this WorksheetCollection instance.

See Also