Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnimationDelay Property
See Also 
Leadtools Namespace > RasterImage Class : AnimationDelay Property



Gets or sets a value indicating the animation delay in milliseconds (ms) for the current frame.

Syntax

Visual Basic (Declaration)  
Public Property AnimationDelay As Integer
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim value As Integer
 
instance.AnimationDelay = value
 
value = instance.AnimationDelay
C#  
public int AnimationDelay {get; set;}
C++/CLI  
public:
property int AnimationDelay {
   int get();
   void set (int value);
}

Return Value

An integer value indicating the animation delay in milliseconds (ms) for the current frame

Example

For an example, refer to AnimationGlobalLoop

Remarks

When the value of this property is changed, the Changed event will fire with RasterImageChangedFlags set to RasterImageChangedFlags.AnimationProperties.

For more information, refer to Implementing Animation.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also