Search
SpringLayout.Iterate Method (Int32, Int32, Boolean)
See Also
 





Runs one or more layout iterations.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Iterate (
    int iterationFrom,
    int iterationTo,
    bool asynchronous
)

Visual Basic  Copy Code

Public Sub Iterate( _
    iterationFrom As Integer, _
    iterationTo As Integer, _
    asynchronous As Boolean _
)

 Parameters

iterationFrom

Specifies from which iteration to start.

iterationTo

Specifies at which iteration to stop.

asynchronous

true to disable UI updates, or false otherwise.

 Remarks

Use this method to create an animation of the layout process, for example, by calling it from a timer. Call BeginArrange to prepare the layout object for use of Iterate, and call EndArrange when done. Each call to Iterate starts from the iteration next to the one where the previous call has stopped.

 See Also