ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLCellRange Class / ToA1 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
    ToA1 Method
    In This Topic
    Gets string with row and column reference in A1 mode.
    Syntax
    'Declaration
     
    Public Shared Function ToA1( _
       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 ToA1( 
       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 A1 mode.
    See Also