Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cells Class / Get Method / Get(Int32,Int32,Int32,Int32) Method
Starting row index of range of cells
Starting column index of range of cells
Ending row index of range of cells
Ending column index of range of cells


In This Topic
    Get(Int32,Int32,Int32,Int32) Method
    In This Topic
    Gets a new Cell object for the range of cells of the specified rows and columns.
    Syntax
    'Declaration
     
    
    Public Overloads Function Get( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer _
    ) As Cell
    'Usage
     
    
    Dim instance As Cells
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As Cell
     
    value = instance.Get(row, column, row2, column2)
    public Cell Get( 
       int row,
       int column,
       int row2,
       int column2
    )

    Parameters

    row
    Starting row index of range of cells
    column
    Starting column index of range of cells
    row2
    Ending row index of range of cells
    column2
    Ending column index of range of cells
    Exceptions
    ExceptionDescription
    Specified row or column index is less than 0 or greater than or equal to the row count or column count.
    Specified starting row index is not valid; must be between zero and the total number of rows
    Specified starting column index is not valid; must be between zero and the total number of columns
    Specified starting row index is not valid; must be between zero and the total number of column header rows
    Specified starting column index is not valid; must be between zero and the total number of row header columns
    Specified ending row index is not valid; must be between zero and the total number of rows
    Specified ending column index is not valid; must be between zero and the total number of columns
    Specified ending row index is not valid; must be between zero and the total number of column header rows
    Specified ending column index is not valid; must be between zero and the total number of row header columns
    See Also