Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / ClearRowHeaderSpanCells Method
Example


In This Topic
    ClearRowHeaderSpanCells Method
    In This Topic
    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