Search
Layout.ArrangeAnimated Method (Diagram, Int32, AnimationType, EasingType)
See Also
 





Applies the layout to the specified subset of items from the specified Diagram instance and animates items moving to their new positions.

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

 Syntax

C#  Copy Code

public virtual bool ArrangeAnimated (
    Diagram diagram,
    int duration,
    AnimationType animationType,
    EasingType easingType
)

Visual Basic  Copy Code

Public Overridable Function ArrangeAnimated( _
    diagram As Diagram, _
    duration As Integer, _
    animationType As AnimationType, _
    easingType As EasingType _
) As Boolean

 Parameters

diagram

The Diagram that should be arranged.

duration

An integer, specifying the duration of the animation in milliseconds.

animationType

A member of the AnimationType enumeration, specifying the animation type to use.

easingType

A member of the EasingType enumeration, specifying the type of easing function to apply to the animation.

 Return Value

true if the diagram has been arranged successfully; otherwise, false.

 See Also