L_VOID LAnimationWindow::SetBitmapList(pBitmapList, pBitmapListPrev=NULL, nBitsPerPixel=0, nColorOrder=ORDER_BGRORGRAY)
Initializes the class object's bitmap list with the bitmap list from another LBitmapList object
Pointer to a bitmap list.
Pointer to a previous LBitmapList object.
Specifies the bits per pixel to be used when load the bitmaplist in the animation Window.
Color order for 16-, 24-, 32-, 48-, and 64-bit bitmaps. If the resultant bitmaps are less than 16 bits per pixel, this will have no effect since palletized images have no order. Possible values are:
|ORDER_RGB|| Red, green, and blue color order|
|ORDER_BGR|| Blue, green, and red color order|
|ORDER_GRAY|| 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are only supported in the Document/Medical toolkits only.|
|ORDER_RGBORGRAY|| Load the image as red, green, blue OR as a 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are supported in the Document/Medical toolkits only.|
|ORDER_BGRORGRAY|| Load the image as blue, green, red OR as a 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are supported in the Document/Medical toolkits only.|
|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.
For an example, refer to LBitmapList::SetBitmapList.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries