ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLCellRange Class / XLCellRange Constructor / XLCellRange Constructor(XLSheet,Int32,Int32,Int32,Int32)
The XLSheet of this cell range.
Top row in the range.
Bottom row in the range.
Left column in the range.
Right column in the range.

In This Topic
    XLCellRange Constructor(XLSheet,Int32,Int32,Int32,Int32)
    In This Topic
    Creates an instance of an XLCellRange object containing a specified range.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sheet As XLSheet, _
       ByVal rowFrom As System.Integer, _
       ByVal rowTo As System.Integer, _
       ByVal colFrom As System.Integer, _
       ByVal colTo As System.Integer _
    )
    public XLCellRange( 
       XLSheet sheet,
       System.int rowFrom,
       System.int rowTo,
       System.int colFrom,
       System.int colTo
    )

    Parameters

    sheet
    The XLSheet of this cell range.
    rowFrom
    Top row in the range.
    rowTo
    Bottom row in the range.
    colFrom
    Left column in the range.
    colTo
    Right column in the range.
    See Also