 | 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+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
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