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


In This Topic
    SetValue(Int32,Int32,Int32,Int32,String) Method
    In This Topic
    Sets the System.String value for the cell of the specified cell 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 String _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorksheet
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As String
    Dim value As Boolean
     
    value = instance.SetValue(row, column, row2, column2, 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.String value to set

    Return Value

    true if success, false otherwise.
    See Also