FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > SheetView コンストラクタ : SheetView コンストラクタ(ISheetDataModel) |
'Declaration Public Function New( _ ByVal dataModel As ISheetDataModel _ )
'使用法 Dim dataModel As ISheetDataModel Dim instance As New SheetView(dataModel)
public SheetView( ISheetDataModel dataModel )
Dim dm As New FarPoint.Win.Spread.Model.DefaultSheetDataModel(4, 4) Dim sv As New FarPoint.Win.Spread.SheetView(dm) FpSpread1.Sheets.Add(sv) FpSpread1.ActiveSheet = sv
FarPoint.Win.Spread.Model.DefaultSheetDataModel dm = new FarPoint.Win.Spread.Model.DefaultSheetDataModel(4, 4); FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView(dm); fpSpread1.Sheets.Add(sv); fpSpread1.ActiveSheet = sv;