 | 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.3+98f265239ae8df4639650ecd7029244cc5e52dfc
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