LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnimationWindow > LAnimationWindow Member Functions > LAnimationWindow::EnableAutoLoop |
#include "ltwrappr.h"
L_BOOL LAnimationWindow::EnableAutoLoop(bAutoLoop=TRUE)
L_BOOL bAutoLoop; |
/* flag that indicates whether to enable auto looping */ |
Enables or disables auto looping.
Parameter |
Description |
|
bAutoLoop |
Flag that indicates whether to enable auto looping. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Enable auto looping. |
|
FALSE |
Disable auto looping. |
Returns
The previous state.
Comments
When auto loop is enabled, animation playback will always loop, even if you call LAnimationWindow::EnableLoop(FALSE).
When auto loop is disabled, animation playback looping will depend on the last call to LAnimationWindow::EnableLoop.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
LAnimationWindow::LAnimationWindow, LAnimationWindow::IsAutoLoopEnabled, LAnimationWindow::EnableLoop, Class Members |
Topics: |
Example
For an example, refer to LAnimationWindow::IsAutoLoopEnabled.