[]
        
(Showing Draft Content)

C1.Excel.XLCellRange.ToR1C1

ToR1C1 Method

ToR1C1(int, int, XLReferenceType, XLReferenceType)

Gets string with row and column reference in R1C1 mode.

Declaration
public static string ToR1C1(int row, int col, XLReferenceType rowRef = XLReferenceType.Relative, XLReferenceType colRef = XLReferenceType.Relative)
Parameters
Type Name Description
int row

The row in the range equal one cell.

int col

The column in the range equal one cell.

XLReferenceType rowRef

The reference type of the row.

XLReferenceType colRef

The reference type of the column.

Returns
Type Description
string

The string with row and column reference in R1C1 mode.