Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / RemoveRows Method
An integer value indicates the index of first row to remove.
An integer value indicates the number of row(s) to remove.
if set to true, GrapeCity.Spreadsheet.UI.UIManager need to be notified.


In This Topic
    RemoveRows Method (Worksheet)
    In This Topic
    Removes one or more rows starting with the row at the specified position.
    Syntax
    'Declaration
     
    
    Public Function RemoveRows( _
       ByVal row As Integer, _
       ByVal count As Integer, _
       Optional ByVal notifyUI As Boolean _
    ) As ActionResult(Of Object)
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim count As Integer
    Dim notifyUI As Boolean
    Dim value As ActionResult(Of Object)
     
    value = instance.RemoveRows(row, count, notifyUI)
    public ActionResult<object> RemoveRows( 
       int row,
       int count,
       bool notifyUI
    )

    Parameters

    row
    An integer value indicates the index of first row to remove.
    count
    An integer value indicates the number of row(s) to remove.
    notifyUI
    if set to true, GrapeCity.Spreadsheet.UI.UIManager need to be notified.

    Return Value

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