LAnimationWindow::RemoveFrame

#include "ltwrappr.h"

L_INT LAnimationWindow::RemoveFrame(uIndex, pBitmap = NULL)

Removes a bitmap from the list, and lets you treat it as an individual bitmap.

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnimationWindow::GetAt.

Help Version 21.0.2021.4.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help