Spread WPF 18
GrapeCity.Spreadsheet Namespace / IWorksheet Interface / InsertRows Method
An integer value indicates the row index at which to insert new row(s).
An integer value indicates the number of row(s) to insert.


In This Topic
    InsertRows Method
    In This Topic
    Inserts row(s) to the Worksheet at the specified position.
    Syntax
    'Declaration
     
    Function InsertRows( _
       ByVal row As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    Dim instance As IWorksheet
    Dim row As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.InsertRows(row, count)
    ActionResult<object> InsertRows( 
       int row,
       int count
    )

    Parameters

    row
    An integer value indicates the row index at which to insert new row(s).
    count
    An integer value indicates the number of row(s) to insert.

    Return Value

    true if the rows are inserted successful, false otherwise.
    See Also