LAnimationWindow::RemoveFrame (original) (raw)
Summary
Removes a bitmap from the list, and lets you treat it as an individual bitmap.
Syntax
#include "ltwrappr.h"
L_INT LAnimationWindow::RemoveFrame(uIndex, pBitmap = NULL)
Parameters
L_UINT uIndex
Position of the bitmap in the list. Use zero-based indexing. For example, if there are 10 bitmaps in a list, the index of the last one is 9. When you remove a bitmap from a list, the indexes of other bitmaps change to accommodate the removal.
LBitmapBase * pBitmap
Pointer to the bitmap handle that you can use afterward to work with the individual bitmap.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
You cannot use this function to update a bitmap list while it is being used in an animation playback.
Required DLLs and Libraries
- LTKRN
- 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.
See Also
Functions
Topics
Example
For an example, refer to LAnimationWindow::GetAt.
LEADTOOLS Raster Imaging C++ Class Library Help