Web API Edition | ComponentOne
C1.Web.Api.Excel Namespace / Range Class / Range Constructor / Range Constructor(Int32,Int32,Int32,Int32)
The starting column number.
The starting row number.
The number of columns.
The number of rows.

In This Topic
    Range Constructor(Int32,Int32,Int32,Int32)
    In This Topic
    Create a Range by coordinates and spans.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal leftCol As Integer, _
       ByVal topRow As Integer, _
       ByVal cols As Integer, _
       ByVal rows As Integer _
    )
    public Range( 
       int leftCol,
       int topRow,
       int cols,
       int rows
    )

    Parameters

    leftCol
    The starting column number.
    topRow
    The starting row number.
    cols
    The number of columns.
    rows
    The number of rows.
    See Also