CellWatchCollection

CellWatchCollection class

Represents the collection of cells on this worksheet being watched in the ‘watch window’.

class CellWatchCollection;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
get(number)Gets and sets CellWatch by index.
get(string)Gets and sets CellWatch by the name of the cell.
add(number, number)Adds Aspose.Cells.CellWatch with a row and a column.
add(string)Adds Aspose.Cells.CellWatch with the name of the cell.

constructor()

Default Constructor.

constructor();

get(number)

Gets and sets CellWatch by index.

get(index: number) : CellWatch;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

CellWatch

get(string)

Gets and sets CellWatch by the name of the cell.

get(cellName: string) : CellWatch;

Parameters:

ParameterTypeDescription
cellNamestringThe name of the cell.

Returns

CellWatch

add(number, number)

Adds Aspose.Cells.CellWatch with a row and a column.

add(row: number, column: number) : number;

Parameters:

ParameterTypeDescription
rownumberThe row index.
columnnumberThe column index.

Returns

Returns the position of this item in the collection.

add(string)

Adds Aspose.Cells.CellWatch with the name of the cell.

add(cellName: string) : number;

Parameters:

ParameterTypeDescription
cellNamestringThe name of the cell.