Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also