SpreadsheetGear 2017
MaxIterations Property (IWorkbookSet)






SpreadsheetGear Namespace > IWorkbookSet Interface : MaxIterations Property
Gets or sets the maximum number of calculation iterations.
Syntax
'Declaration
 
Property MaxIterations As System.Integer
'Usage
 
Dim instance As IWorkbookSet
Dim value As System.Integer
 
instance.MaxIterations = value
 
value = instance.MaxIterations
System.int MaxIterations {get; set;}
read-write property MaxIterations: System.Integer; 
function get,set MaxIterations : System.int
__property System.int get_MaxIterations();
__property void set_MaxIterations( 
   System.int value
);
property System.int MaxIterations {
   System.int get();
   void set (    System.int value);
}
Remarks

When IWorkbookSet.Iteration is true, formulas are calculated until the number of iterations equals IWorkbookSet.MaxIterations or until the maximum change in any calculated cell is less than IWorkbookSet.MaxChange.

Iteration is false by default

MaxChange is set to 0.001 by default.

MaxIterations is set to 100 by default.

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

Reference

IWorkbookSet Interface
IWorkbookSet Members
Iteration Property
MaxChange Property