GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > RemoveColumns Method : RemoveColumns(Int32,Int32,SheetArea) Method |
'Declaration Public Overloads Sub RemoveColumns( _ ByVal column As System.Integer, _ ByVal count As System.Integer, _ ByVal sheetArea As SheetArea _ )
gcSpreadSheet1.Sheets[0].Cells[0, 0, 0, 5].Text = "Test"; private void button1_Click(object sender, RoutedEventArgs e) { //gcSpreadSheet1.Sheets[0].RemoveColumns(0, 2); gcSpreadSheet1.Sheets[0].RemoveColumns(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells); }
GcSpreadSheet1.Sheets(0).Cells(0, 0, 0, 5).Text = "Test" Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click 'GcSpreadSheet1.Sheets(0).RemoveColumns(0, 2) GcSpreadSheet1.Sheets(0).RemoveColumns(0, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells) End Sub
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6