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


In This Topic
    ClearSpanCells Method
    In This Topic
    Removes all spans from this sheet.
    Syntax
    'Declaration
     
    Public Sub ClearSpanCells() 
    'Usage
     
    Dim instance As SheetView
     
    instance.ClearSpanCells()
    public void ClearSpanCells()
    Example
    This example clears spanned cells.
    //Create a span
    fpSpread1.Sheets[0].AddSpanCell(0, 0, 2, 2);
    //Clear Span 
    fpSpread1.Sheets[0].ClearSpanCells();
    
    
    'Create a span
    FpSpread1.Sheets(0).AddSpanCell(0, 0, 2, 2)
    'Clear Span
    FpSpread1.Sheets(0).ClearSpanCells()
    
    See Also