#include "ltwrappr.h"
L_BOOL LBitmapList::HasGlobalPalette()
Determines whether the bitmap list has a global palette.
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. |
Win32, x64.
Functions: |
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;
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET