Spread Windows Forms 11.0 Product Documentation
Clear Method (BaseSheetSpanModel)
Example 


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

Reference

BaseSheetSpanModel Class
BaseSheetSpanModel Members