Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLCellRange Class / ToR1C1 Method
The row in the range equal one cell.
The column in the range equal one cell.
The reference type of the row.
The reference type of the column.

In This Topic
    ToR1C1 Method
    In This Topic
    Gets string with row and column reference in R1C1 mode.
    Syntax
    'Declaration
     
    
    Public Shared Function ToR1C1( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       Optional ByVal rowRef As XLReferenceType, _
       Optional ByVal colRef As XLReferenceType _
    ) As String

    Parameters

    row
    The row in the range equal one cell.
    col
    The column in the range equal one cell.
    rowRef
    The reference type of the row.
    colRef
    The reference type of the column.

    Return Value

    The string with row and column reference in R1C1 mode.
    See Also