Worksheet.HasCell Method (Int32, Int32)

NanoXLSX

NanoXLSX

WorksheetHasCell Method (Int32, Int32)

Gets whether the specified address exists in the worksheet. Existing means that a value was stored at the address

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public bool HasCell(
	int columnNumber,
	int rowNumber
)

Parameters

columnNumber
Type: SystemInt32
Column number of the cell to check (zero-based)
rowNumber
Type: SystemInt32
Row number of the cell to check (zero-based)

Return Value

Type: Boolean
true if the cell exists, otherwise false.
See Also