Spread Windows Forms 12.0 Product Documentation
ClearRowHeaderSpanCells Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ClearRowHeaderSpanCells Method
Removes all spans from the row headers.
Syntax
'Declaration
 
Public Sub ClearRowHeaderSpanCells() 
'Usage
 
Dim instance As SheetView
 
instance.ClearRowHeaderSpanCells()
public void ClearRowHeaderSpanCells()
Example
This example clears the row header spans.
//Create Span
fpSpread1.Sheets[0].RowHeader.Columns.Count = 2;
fpSpread1.Sheets[0].AddRowHeaderSpanCell(0, 0, 2, 1);
//Clear Span 
fpSpread1.Sheets[0].ClearRowHeaderSpanCells();

'Create the span
FpSpread1.Sheets(0).RowHeader.Columns.Count = 2
FpSpread1.Sheets(0).AddRowHeaderSpanCell(0, 0, 2, 1)
'Clear the span 
FpSpread1.Sheets(0).ClearRowHeaderSpanCells()
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Creating a Span of Cells