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


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

    Parameters

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

    Return Value

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