Spread Windows Forms 12.0 Product Documentation
Remove Method (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : Remove Method
Removes this column (or a range of columns if called repeatedly).
Syntax
'Declaration
 
Public Sub Remove() 
'Usage
 
Dim instance As Column
 
instance.Remove()
public void Remove()
Remarks
To remove a range of columns, you can use the Rows shortcut to call this method repeatedly for a range of rows, or use the Remove method from the Columns class and specify a range of columns.
Example
This example removes the first column from the active sheet.
FarPoint.Win.Spread.Column col;
fpSpread1.ActiveSheet.ColumnCount = 3;
col = fpSpread1.ActiveSheet.Columns[0];
col.Remove();
Dim col As FarPoint.Win.Spread.Column
fpSpread1.ActiveSheet.ColumnCount = 3
col = fpSpread1.ActiveSheet.Columns(0)
col.Remove()
See Also

Reference

Column Class
Column Members
Remove Method (Columns Class)