Spread Windows Forms 12.0 Product Documentation
DefaultSheetSpanModel Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetSpanModel Class > DefaultSheetSpanModel Constructor : DefaultSheetSpanModel Constructor()
Creates a default span model.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New DefaultSheetSpanModel()
public DefaultSheetSpanModel()
Example
This example creates a span model and adds a span to the spreadsheet.
FarPoint.Win.Spread.Model.DefaultSheetSpanModel defspanModel = new FarPoint.Win.Spread.Model.DefaultSheetSpanModel();
fpSpread1.ActiveSheet.Models.Span = defspanModel;
defspanModel.Add(0, 0, 3, 3);
Dim defspanModel As New FarPoint.Win.Spread.Model.DefaultSheetSpanModel()
FpSpread1.ActiveSheet.Models.Span = defspanModel
defspanModel.Add(0, 0, 3, 3)
See Also

Reference

DefaultSheetSpanModel Class
DefaultSheetSpanModel Members
Overload List