 | WorksheetHasCell(Int32, Int32) Method |
Gets whether the specified address exists in the worksheet. Existing means that a value was stored at the address
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
Syntaxpublic bool HasCell(
int columnNumber,
int rowNumber
)
Parameters
- columnNumber Int32
- Column number of the cell to check (zero-based)
- rowNumber Int32
- Row number of the cell to check (zero-based)
Return Value
Booleantrue if the cell exists, otherwise
false.
Exceptions| Exception | Condition |
|---|
| RangeException | A RangeException is thrown if the column or row number is invalid |
See Also