FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > DefaultSheetDataModel クラス : MaximumIterations プロパティ |
'Declaration Public Property MaximumIterations As Integer
'使用法 Dim instance As DefaultSheetDataModel Dim value As Integer instance.MaximumIterations = value value = instance.MaximumIterations
public int MaximumIterations {get; set;}
例外 | 説明 |
---|---|
System.ArgumentOutOfRangeException | 指定された繰り返し回数が範囲外です。有効な値は1〜32767です。 |
Dim dataModel As New FarPoint.Win.Spread.Model.DefaultSheetDataModel(10, 10) FpSpread1.ActiveSheet.Models.Data = dataModel dataModel.SetValue(0, 0, 20) dataModel.SetValue(0, 1, 10) dataModel.SetValue(0, 2, 10) dataModel.Iteration = True dataModel.MaximumIterations = 3 dataModel.MaximumChange = 600 dataModel.SetFormula(0, 0, "B1+C1") dataModel.SetFormula(0, 2, "A1*3")
FarPoint.Win.Spread.Model.DefaultSheetDataModel dataModel = new FarPoint.Win.Spread.Model.DefaultSheetDataModel(8, 8); fpSpread1.ActiveSheet.Models.Data = dataModel; dataModel.SetValue(0, 0, 20); dataModel.SetValue(0, 1, 10); dataModel.SetValue(0, 2, 10); dataModel.Iteration = true; dataModel.MaximumIterations = 3; dataModel.MaximumChange = 600; dataModel.SetFormula(0, 0, "B1+C1"); dataModel.SetFormula(0, 2, "A1*3");