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

Platforms

Win32, x64.

See Also

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 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