LBitmapList::HasGlobalPalette

#include "ltwrappr.h"

L_BOOL LBitmapList::HasGlobalPalette()

Determines whether the bitmap list has a global palette.

Returns

Value Meaning
TRUE The bitmap list has a global palette.
FALSE The bitmap list does not have a global palette.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

L_INT LBitmapList__HasGlobalPaletteExample(L_TCHAR  * pszFileName) 
{ 
   L_INT nRet; 
   LBitmapList BitmapList; 
   RGBQUAD *pPalette; 
   L_BOOL bHasPallete ; 
 
   nRet =BitmapList.Load (pszFileName); 
   if(nRet !=SUCCESS) 
      return nRet; 
   bHasPallete = BitmapList.HasGlobalPalette (); 
   if(bHasPallete) 
      pPalette = BitmapList.GetPalette (); 
   //... 
 
   return SUCCESS; 
} 
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.