#include "ltwrappr.h"
L_INT LAnimationWindow::SetDelay(nDelay, nIndex=ANIM_ALL_ITEMS)
L_INT nDelay; |
delay in milliseconds |
L_UINT nIndex; |
position of th ebitmap list item |
Sets the animation playback delay for the bitmap list item.
Parameter | Description | |
nDelay | Delay in milliseconds (ms) for the bitmap. | |
nIndex | Position of bitmap list item. Possible values are: | |
Value | Meaning | |
ANIM_ALL_ITEMS | [-1] Set the delay for all items in the bitmap list | |
>=0 | Set the delay only for the specified item |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
This function sets the animation playback delay in milliseconds (ms) for the bitmap item at position nIndex inside the bitmaplist. If you want to set the same delay for all items, set nIndex = ANIM_ALL_ITEMS.
Positioning within the list is zero-based.
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.
Functions: |
LAnimationWindow::LAnimationWindow, LAnimationWindow::GetDelay, LAnimationWindow::Load, LAnimationWindow::PlayAnimation, Class Members |
For an example, refer to LAnimationWindow::GetDelay.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET