Search
SpringLayout.Iterate Method
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
)

Visual Basic  Copy Code

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

 Parameters

iterationFrom

Specifies from which iteration to start.

iterationTo

Specifies at which iteration to stop.

 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