LBitmapList::GetGlobalLoop

#include "ltwrappr.h"

L_UINT LBitmapList::GetGlobalLoop()

Gets the value of the global loop for the class object's bitmap list.

Returns

The value of the global loop for the bitmap list.

Comments

GlobalLoop is the loop count when playing an animation. 0 means continuous looping.

Required DLLs and Libraries

LTFIL

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:

Class Members

Example

L_INT LBitmapList__GetGlobalLoopExample(L_TCHAR  * pszFileName) 
 
{ 
   L_INT nRet; 
   LBitmapList BitmapList; 
   L_BOOL bHasGlobalLoop; 
   L_UINT uGlobalLoop; 
 
   nRet =BitmapList.Load (pszFileName); 
   if(nRet !=SUCCESS) 
      return nRet; 
   bHasGlobalLoop = BitmapList.HasGlobalLoop (); 
   if(bHasGlobalLoop ==TRUE) 
      uGlobalLoop = BitmapList.GetGlobalLoop (); 
   //... 
 
   return SUCCESS; 
} 
Help Version 20.0.2019.12.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help