LBitmapList::HasGlobalPalette

#include "ltwrappr.h"

L_BOOL LBitmapList::HasGlobalPalette()

Determines whether the bitmap list has a global palette.

Returns

TRUE

The bitmap list has a global palette.

FALSE

The bitmap list does not have a global palette.

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