IChartCellCollection

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public interface IChartCellCollection extends System.Collections.Generic.IGenericEnumerable<IChartDataCell>

Represents collection of a cells with data.

Methods

MethodDescription
getCellsAddress()Returns address of the set of cells in workbook.
getConcatenatedValuesFromCells()Concatenation string from all cells string values.
get_Item(int index)Returns a cell (IChartDataCell) by index.
add(IChartDataCell chartDataCell)Add new cell to the collection.
add(Object value)Creates IChartDataCell from specified value and adds it to the collection.
removeAt(int index)Removes a cell from the collection by index.
getCount()Gets the count of cells in collection.

getCellsAddress()

public abstract String getCellsAddress()

Returns address of the set of cells in workbook.

Returns: java.lang.String - Address of the set of cells in workbook String

getConcatenatedValuesFromCells()

public abstract String getConcatenatedValuesFromCells()

Concatenation string from all cells string values.

Returns: java.lang.String - Resulting string String

get_Item(int index)

public abstract IChartDataCell get_Item(int index)

Returns a cell (IChartDataCell) by index.

Parameters:

ParameterTypeDescription
indexintIndex of a cell.

Returns: IChartDataCell - Cell with data.

add(IChartDataCell chartDataCell)

public abstract void add(IChartDataCell chartDataCell)

Add new cell to the collection.

Parameters:

ParameterTypeDescription
chartDataCellIChartDataCellNew cell to add.

add(Object value)

public abstract void add(Object value)

Creates IChartDataCell from specified value and adds it to the collection.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

This method adds worksheet with name AUTO_DATA and adds all values there. If you use IChartDataWorkbook to add or edit Cell values, be sure that you do not use this worksheet Maximum number of values added using this method must not exceed 16711680 |

removeAt(int index)

public abstract void removeAt(int index)

Removes a cell from the collection by index.

Parameters:

ParameterTypeDescription
indexintIndex of a cell to remove.

getCount()

public abstract int getCount()

Gets the count of cells in collection. Read-only int.

Returns: int