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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2