Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / RemoveColumns Method
An integer value indicates the index of first column to remove.
An integer value indicates the number of column(s) to remove.


In This Topic
    RemoveColumns Method (IWorksheet)
    In This Topic
    Removes one or more columns starting with the column at the specified position.
    Syntax
    'Declaration
     
    
    Function RemoveColumns( _
       ByVal column As Integer, _
       ByVal count As Integer _
    ) As ActionResult(Of Object)
    'Usage
     
    
    Dim instance As IWorksheet
    Dim column As Integer
    Dim count As Integer
    Dim value As ActionResult(Of Object)
     
    value = instance.RemoveColumns(column, count)

    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.

    Return Value

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