Spread Windows Forms 12.0 Product Documentation
RemoveColumns Method (IWorksheet)


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.
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)
ActionResult<object> RemoveColumns( 
   int column,
   int 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

Reference

IWorksheet Interface
IWorksheet Members