Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetSpanModel Class / Clear Method / Clear() Method
Example


In This Topic
    Clear() Method
    In This Topic
    Removes all cell spans from the collection.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub Clear() 
    'Usage
     
    Dim instance As DefaultSheetSpanModel
     
    instance.Clear()
    public override void Clear()
    Example
    This example removes all of the spans from the model.
    FarPoint.Win.Spread.Model.DefaultSheetSpanModel defspanModel = new FarPoint.Win.Spread.Model.DefaultSheetSpanModel();
    fpSpread1.ActiveSheet.Models.Span = defspanModel;
    defspanModel.Clear();
    Dim defspanModel As New FarPoint.Win.Spread.Model.DefaultSheetSpanModel()
    FpSpread1.ActiveSheet.Models.Span = defspanModel
    defspanModel.Clear()
    See Also