LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7

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);
}

Property 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 RasterImage.Changed event will fire with RasterImageChangedFlags set to RasterImageChangedFlags.AnimationProperties.

For more information, refer to Implementing Animation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also