public class CellWatchCollection extends CollectionBase
Example
//Instantiating a Workbook object
Workbook workbook = new Workbook();
// Get the first Worksheet.
Worksheet sheet = workbook.getWorksheets().get(0);
// Add Cell Watch Item into the watch window
sheet.getCellWatches().add("B2");
| Constructor and Description |
|---|
CellWatchCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
add(int row,
int column)
Adds
CellWatch with row and column. |
int |
add(java.lang.String cellName)
Adds
CellWatch with the name the of cell. |
CellWatch |
get(int index)
Gets and sets
CellWatch by index. |
CellWatch |
get(java.lang.String cellName)
Gets and sets
CellWatch by the name of the cell. |
public int add(int row,
int column)
CellWatch with row and column.row - The row index.column - The column index.public int add(java.lang.String cellName)
CellWatch with the name the of cell.cellName - The name of the cell.public CellWatch get(int index)
CellWatch by index.get in class CollectionBaseindex - The index.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.