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


In This Topic
    SetValue(Int32,Int32,Int32,Int32,Object) Method
    In This Topic
    Sets the value for the cell of the specified cell range.
    Syntax
    'Declaration
     
    
    Public 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 Worksheet
    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)
    public bool SetValue( 
       int row,
       int column,
       int row2,
       int column2,
       object value
    )

    Parameters

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

    Return Value

    true if success, false otherwise.
    See Also