Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_SetPlaybackIndex

Show in webframe

#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

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.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_CreatePlayback, L_DestroyPlayback, L_GetPlaybackDelay, L_CancelPlaybackWait, L_ProcessPlayback, L_ClearPlaybackUpdateRect, L_GetPlaybackIndex, L_GetPlaybackState, L_GetPlaybackUpdateRect, L_AppendPlayback, L_ValidatePlaybackLines

Topics:

Raster Image Functions: Creating and Maintaining Lists of Images

 

Implementing Animation

Example

For a short example, refer to L_GetPlaybackIndex. For complete sample code, refer to the CHILD.C module of the DEMO example.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.