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


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()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Column Class
Column Members
Remove Method (Columns Class)

 

 


Copyright © GrapeCity, inc. All rights reserved.