ComponentOne Excel for .NET
C1.Excel Assembly / C1.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 System.Integer, _
       ByVal col As System.Integer, _
       Optional ByVal rowRef As XLReferenceType, _
       Optional ByVal colRef As XLReferenceType _
    ) As System.String
    public static System.string ToR1C1( 
       System.int row,
       System.int col,
       XLReferenceType rowRef,
       XLReferenceType colRef
    )

    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