 | 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+3223c8b99fcd3402b4ae016daa480abac16f8a9f
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.
ExceptionsException | Condition |
---|
RangeException | A RangeException is thrown if the column or row number is invalid |
See Also