Is this page helpful?
Sets the animation playback delay for the bitmap list item.
#include "ltwrappr.h"
L_INT LAnimationWindow::SetDelay(nDelay, nIndex=ANIM_ALL_ITEMS)
Delay in milliseconds (ms) for the bitmap.
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 |
Value | Meaning |
---|---|
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.
Win32, x64.
For an example, refer to LAnimationWindow::GetDelay.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document