LEADTOOLS Raster Imaging C DLL Help > Function References > L_SetPlaybackIndex |
#include "l_bitmap.h"
L_LTDIS_API L_INT L_SetPlaybackIndex(hPlayback, nIndex)
HPLAYBACK hPlayback; |
/* playback handle */ |
L_INT nIndex; |
/* bitmap list index */ |
Sets the list index of the current bitmap during animation playback.
Parameter |
Description |
hPlayback |
Handle that references the animation playback. |
nIndex |
The bitmap list index to set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64, Linux.
See Also
Example
For a short example, refer to L_GetPlaybackIndex. For complete sample code, refer to the CHILD.C module of the DEMO example.