COLORREF LBitmapList::GetBackgroundColor()
Gets the global background color.
The global background color.
GlobalBackgroundColor is the background color of images in a multipage GIF file. This is used only if LBitmapList::HasGlobalBackground returns TRUE.
Win32, x64.
L_INT LBitmapList__GetBackgroundColorExample(L_TCHAR * pszFileName)
{
L_INT nRet;
LBitmapList BitmapList;
L_BOOL bGlobalBackground;
COLORREF crBackground;
nRet =BitmapList.Load (pszFileName);
if(nRet !=SUCCESS)
return nRet;
bGlobalBackground = BitmapList.HasGlobalBackground ();
if(bGlobalBackground ==TRUE)
crBackground = BitmapList.GetBackgroundColor ();
//...
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document