Visual Basic (Declaration) | |
---|---|
Public Sub Remove() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Column instance.Remove() |
C# | |
---|---|
public void Remove() |
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.
This example removes the first column from the active sheet.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Column col; fpSpread1.ActiveSheet.ColumnCount = 3; col = fpSpread1.ActiveSheet.Columns[0]; col.Remove(); |
Visual Basic | Copy Code |
---|---|
Dim col As FarPoint.Win.Spread.Column FpSpread1.ActiveSheet.ColumnCount = 3 col = FpSpread1.ActiveSheet.Columns(0) col.Remove() |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8