GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > Clear Method : Clear(Int32,Int32,Int32,Int32,SheetArea) Method |
'Declaration Public Overloads Sub Clear( _ ByVal row As System.Integer, _ ByVal column As System.Integer, _ ByVal rowCount As System.Integer, _ ByVal columnCount As System.Integer, _ ByVal area As SheetArea _ )
gcSpreadSheet1.Sheets[0].Cells[0, 0, 10, 10].Text = "Test";
gcSpreadSheet1.Sheets[0].Clear(0, 0, 2, 2);
gcSpreadSheet1.Sheets[0].Clear(2, 3, 1, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells);
gcSpreadSheet1.Sheets[0].Clear(5, 0, 2, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, GrapeCity.Windows.SpreadSheet.Data.StorageType.Data);
GcSpreadSheet1.Sheets(0).Cells(0, 0, 10, 10).Text = "Test"
GcSpreadSheet1.Sheets(0).Clear(0, 0, 2, 2)
GcSpreadSheet1.Sheets(0).Clear(2, 3, 1, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells)
GcSpreadSheet1.Sheets(0).Clear(5, 0, 2, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells, GrapeCity.Windows.SpreadSheet.Data.StorageType.Data)
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