[]
        
(Showing Draft Content)

C1.WPF.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)
Public Shared Function ToR1C1(row As Integer, col As Integer, Optional rowRef As XLReferenceType = XLReferenceType.Relative, Optional colRef As XLReferenceType = XLReferenceType.Relative) As String
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.