LAnimationWindow::SetDisposalMethod

#include "ltwrappr.h"

L_INT LAnimationWindow::SetDisposalMethod(nDisposalMethod, nIndex=ANIM_ALL_ITEMS)

Gets the disposal method for the bitmap item at position nIndex inside the bitmap list.

Parameters

L_INT nDisposalMethod

Animation playback disposal method. For possible values, refer to Animation Disposal Methods.

L_UINT 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

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

If nIndex = ANIM_ALL_ITEMS, then all bitmap list items will be affected by the new nDisposalMethod.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Example

For an example, refer to LAnimationWindow::GetDisposalMethod.

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.