LAnimationWindow::SetDisposalMethod

#include "ltwrappr.h"

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

L_INT nDisposalMethod;

animation playback disposal method

L_UINT nIndex;

position of the bitmap list item

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

Parameter Description
nDisposalMethod Animation playback disposal method. For possible values, refer to Animation Disposal Methods.
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

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

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help