Gets or sets whether circular references are evaluated.
            
            
            
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| Property Iteration As Boolean | 
| Visual Basic (Usage) |  Copy Code | 
|---|
| Dim instance As IIterationSupport
Dim value As Boolean
 
instance.Iteration = value
 
value = instance.Iteration | 
| C# |  | 
|---|
| bool Iteration {get; set;} | 
Property Value
Boolean: 
true to recalculate circular references; 
false otherwise
 Example
Example
This example specifies that circular references are evaluated with the number of iterations being three and the amount of change being 5.
             
| C# |  Copy Code | 
|---|
| FarPoint.Win.Spread.Model.IIterationSupport iis;
iis = (FarPoint.Win.Spread.Model.IIterationSupport)fpSpread1.ActiveSheet.Models.Data;
iis.Iteration = true;
iis.MaximumChange = 5;
iis.MaximumIterations = 3;
fpSpread1.ActiveSheet.SetValue(0, 0, 10);
fpSpread1.ActiveSheet.SetValue(0, 1, 20);
fpSpread1.ActiveSheet.SetValue(0, 2, 30);
fpSpread1.ActiveSheet.SetFormula(0, 2, "B1+C1");
fpSpread1.ActiveSheet.SetFormula(0, 0, "A1*C1"); | 
| Visual Basic |  Copy Code | 
|---|
| Dim iis As FarPoint.Win.Spread.Model.IIterationSupport
iis = FpSpread1.ActiveSheet.Models.Data
iis.Iteration = True
iis.MaximumChange = 5
iis.MaximumIterations = 3
FpSpread1.ActiveSheet.SetValue(0, 0, 10)
FpSpread1.ActiveSheet.SetValue(0, 1, 20)
FpSpread1.ActiveSheet.SetValue(0, 2, 30)
FpSpread1.ActiveSheet.SetFormula(0, 2, "B1+C1")
FpSpread1.ActiveSheet.SetFormula(0, 0, "A1*C1") | 
 Requirements
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
 See Also
See Also