Excel for WPF | ComponentOne
C1.WPF.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 Integer, _
       ByVal rowTo As Integer, _
       ByVal colFrom As Integer, _
       ByVal colTo As Integer _
    )
    public XLCellRange( 
       XLSheet sheet,
       int rowFrom,
       int rowTo,
       int colFrom,
       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