ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc.Sheet 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 System.Integer, _
       ByVal topRow As System.Integer, _
       ByVal cols As System.Integer, _
       ByVal rows As System.Integer _
    )
    'Usage
     
    
    Dim leftCol As System.Integer
    Dim topRow As System.Integer
    Dim cols As System.Integer
    Dim rows As System.Integer
     
    Dim instance As New Range(leftCol, topRow, cols, rows)
    public Range( 
       System.int leftCol,
       System.int topRow,
       System.int cols,
       System.int rows
    )
    public Range( 
        leftCol: System.Integer;
        topRow: System.Integer;
        cols: System.Integer;
        rows: System.Integer
    ); 
    public function Range( 
       leftCol : System.int,
       topRow : System.int,
       cols : System.int,
       rows : System.int
    );
    public: Range( 
       System.int leftCol,
       System.int topRow,
       System.int cols,
       System.int rows
    )
    public:
    Range( 
       System.int leftCol,
       System.int topRow,
       System.int cols,
       System.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