Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SetValue Method / SetValue(Int32,Int32,Int32,Int32,Int32) 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.Int32 value to set


In This Topic
    SetValue(Int32,Int32,Int32,Int32,Int32) Method
    In This Topic
    Sets the System.Int32 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 Integer _
    ) 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 Integer
    Dim value As Boolean
     
    value = instance.SetValue(row, column, row2, column2, value)
    public bool SetValue( 
       int row,
       int column,
       int row2,
       int column2,
       int 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.Int32 value to set

    Return Value

    true if success, false otherwise.
    See Also