Click or drag to resize
NanoXLSX

Cell.ResolveCellCoordinate(String, Int32, Int32, Cell.AddressType) 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.2+7f12a949130e0be1e987e553d2d08c083176cdca
Syntax
C#
public static void ResolveCellCoordinate(
	string address,
	out int column,
	out int row,
	out Cell.AddressType 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  Cell.AddressType
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