Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ISpreadsheet Interface / SetValue Method / SetValue(Int32,Int32,Int32,Int32,Object) Method
An integer value indicates the top row index of cell.
An integer value indicates the left column index of cell.
An integer value indicates the bottom row index of cell.
An integer value indicates the right column index of cell.
An System.Object value to set


In This Topic
    SetValue(Int32,Int32,Int32,Int32,Object) Method
    In This Topic
    Sets the System.Object value for all cells of the specified range.
    Syntax
    'Declaration
     
    
    Overloads Function SetValue( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer, _
       ByVal value As Object _
    ) As Boolean
    'Usage
     
    
    Dim instance As ISpreadsheet
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As Object
    Dim value As Boolean
     
    value = instance.SetValue(row, column, row2, column2, value)

    Parameters

    row
    An integer value indicates the top row index of cell.
    column
    An integer value indicates the left column index of cell.
    row2
    An integer value indicates the bottom row index of cell.
    column2
    An integer value indicates the right column index of cell.
    value
    An System.Object value to set

    Return Value

    true if the value is set successful; otherwise, false.
    See Also