←Select platform

CancelWait Method

Summary

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

Syntax

C#
VB
WinRT C#
C++
public void CancelWait() 
Public Sub CancelWait()  
public void CancelWait() 
 function Leadtools.RasterImageAnimator.CancelWait() 
public: 
void CancelWait();  

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

Example

For an example, refer to Append.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize