Click or drag to resize
NanoXLSX

CellResolveCellCoordinate(String, Int32, Int32, CellAddressType) Method

Gets the column and row number (zero based) of a cell by the address

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public static void ResolveCellCoordinate(
	string address,
	out int column,
	out int row,
	out CellAddressType addressType
)

Parameters

address  String
Address as string in the format A1 - XFD1048576
column  Int32
Column number of the cell (zero-based) as out parameter
row  Int32
Row number of the cell (zero-based) as out parameter
addressType  CellAddressType
Address type of the cell (if defined as modifiers in the address string)
Exceptions
ExceptionCondition
FormatExceptionThrows a FormatException if the range address was malformed
RangeExceptionThrows a RangeException if the row or column number was out of range
See Also