LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CancelWait Method
See Also 
Leadtools Namespace > RasterImageAnimator Class : CancelWait Method



Cancels the wait for user input and any delay during an animation playback.

Syntax

Visual Basic (Declaration) 
Public Sub CancelWait() 
Visual Basic (Usage)Copy Code
Dim instance As RasterImageAnimator
 
instance.CancelWait()
C# 
public void CancelWait()
C++/CLI 
public:
void CancelWait(); 

Example

For an example, refer to Append.

Remarks

The "Wait for user input" is supported by GIF89a and later standard. This flag gets set to the corresponding value if this image was loaded from a GIF file. Also, the value set in this property will be used if this image is saved as a GIF file. Otherwise, the LEADTOOLS toolkit will not use the value of this property.

This flag is set in the RasterImage.AnimationWaitUserInput property. The animation playback engine will get into a wait state if it encounters this flag in a frame and the state of the playback will be RasterImageAnimatorState.WaitInput. Use the CancelWait method to exit the wait state and move to the next frame

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