L_VOID LBitmapList::SetBitmapList(pBitmapList)
Initializes the class object's bitmap list with the bitmap list from another LBitmapList object.
Pointer to a bitmap list.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
If the class object already has a created bitmap list when this function is called, the bitmap list will be destroyed before it is set to the passed object's bitmap list.
This function will invalidate the passed object before returning.
Win32, x64.
L_INT LBitmapList__SetBitmapListExample(L_TCHAR * pszFileName)
{
L_INT nRet;
LBitmapList BitmapList, NewBitmapList;
nRet =BitmapList.Load (pszFileName);
if(nRet !=SUCCESS)
return nRet;
// Initialize the NewBitmapList object with the loaded one
NewBitmapList.SetBitmapList (&BitmapList);
//...
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