Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / SetText Method / SetText(Int32,Int32,SheetArea,String) Method
The row index.
The column index.
The sheet area.
The text for the specified cell.


In This Topic
    SetText(Int32,Int32,SheetArea,String) Method
    In This Topic
    Sets the formatted text in the cell in the specified sheet area using the IFormatter object for the cell.
    Syntax
    'Declaration
     
    Public Overloads Sub SetText( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal sheetArea As SheetArea, _
       ByVal text As String _
    ) 
    'Usage
     
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim sheetArea As SheetArea
    Dim text As String
     
    instance.SetText(row, column, sheetArea, text)
    public void SetText( 
       int row,
       int column,
       SheetArea sheetArea,
       string text
    )

    Parameters

    row
    The row index.
    column
    The column index.
    sheetArea
    The sheet area.
    text
    The text for the specified cell.
    Exceptions
    ExceptionDescription
    Specified row index is out of range; must be between 0 and the total number of rows.
    Specified column index is out of range; must be between 0 and the total number of columns.
    See Also