Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / 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 (Worksheet)
    In This Topic
    Inserts row(s) to the Worksheet at the specified position.
    Syntax
    'Declaration
     
    
    Public Function InsertRows( _
       ByVal row As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.InsertRows(row, count)
    public 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