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


In This Topic
    Clear Method (BaseSheetSpanModel)
    In This Topic
    Removes all cell spans from the collection.
    Syntax
    'Declaration
     
    Public Overridable Sub Clear() 
    'Usage
     
    Dim instance As BaseSheetSpanModel
     
    instance.Clear()
    public virtual void Clear()
    Example
    This example removes all of the spans from the model.
    FarPoint.Win.Spread.Model.BaseSheetSpanModel spanModel;
    spanModel = (FarPoint.Win.Spread.Model.BaseSheetSpanModel)fpSpread1.ActiveSheet.Models.Span;
    spanModel.Clear();
    Dim spanModel As FarPoint.Win.Spread.Model.BaseSheetSpanModel
    spanModel = fpSpread1.ActiveSheet.Models.Span
    spanModel.Clear()
    See Also