GrapeCity.Xaml.SpreadSheet.Data
RemoveSpanCell(Int32,Int32,SheetArea) Method
Example 


The row index of the anchor cell for the span (at which spanned cells start).
The column index of the anchor cell for the span (at which spanned cells start).
The sheet area.
Removes the span that contains a specified anchor cell from a range of cells in the specified sheet area.
Syntax
'Declaration
 
Public Overloads Sub RemoveSpanCell( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal sheetArea As SheetArea _
) 
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim sheetArea As SheetArea
 
instance.RemoveSpanCell(row, column, sheetArea)
public void RemoveSpanCell( 
   int row,
   int column,
   SheetArea sheetArea
)

Parameters

row
The row index of the anchor cell for the span (at which spanned cells start).
column
The column index of the anchor cell for the span (at which spanned cells start).
sheetArea
The sheet area.
Example
This example uses the RemoveSpanCell method.
gcSpreadSheet1.Sheets[0].AddSpanCell(1, 1, 3, 3);
      
private void Button_Click_1(object sender, RoutedEventArgs e)
  {
       // gcSpreadSheet1.Sheets[0].RemoveSpanCell(1, 1);
        gcSpreadSheet1.Sheets[0].RemoveSpanCell(1, 1, 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).RemoveSpanCell(1, 1)
GcSpreadSheet1.Sheets(0).RemoveSpanCell(1, 1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells)
End Sub
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options