Spread Windows Forms 11.0 Product Documentation
Clear() Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetSpanModel Class > Clear Method : Clear() Method
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

Reference

DefaultSheetSpanModel Class
DefaultSheetSpanModel Members
Overload List