GrapeCity.Xaml.SpreadSheet.Data
ClearSpanCells Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : ClearSpanCells Method
The sheet area.
Clears the span that contains a specified anchor cell from a range of cells in the specified sheet area.
Syntax
'Declaration
 
Public Sub ClearSpanCells( _
   ByVal sheetArea As SheetArea _
) 
'Usage
 
Dim instance As Worksheet
Dim sheetArea As SheetArea
 
instance.ClearSpanCells(sheetArea)
public void ClearSpanCells( 
   SheetArea sheetArea
)

Parameters

sheetArea
The sheet area.
Example
This example uses the ClearSpanCells method.
gcSpreadSheet1.Sheets[0].AddSpanCell(1, 1, 3, 3);
      
private void Button_Click_1(object sender, RoutedEventArgs e)
  {
        gcSpreadSheet1.Sheets[0].ClearSpanCells(GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells);
   }
GcSpreadSheet1.Sheets(0).AddSpanCell(1, 1, 3, 3)

Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
GcSpreadSheet1.Sheets(0).ClearSpanCells(GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells)
End Sub
See Also

Reference

Worksheet Class
Worksheet Members