#include "ltwrappr.h"
L_VOID LAnimationWindow::SetBitmapList(pBitmapList, pBitmapListPrev=NULL, nBitsPerPixel=0, nColorOrder=ORDER_BGRORGRAY)
LBitmapList * pBitmapList; |
pointer to an LBitmapList object |
LBitmapList * pBitmapListPrev; |
pointer to a previous LBitmapList object |
L_INT nBitsPerPixel; |
bits per pixel to load in animation window |
L_INT nColorOrder; |
the color order |
Initializes the class object's bitmap list with the bitmap list from another LBitmapList object
Parameter | Description | |
pBitmapList | Pointer to a bitmap list. | |
pBitmapListPrev | Pointer to a previous LBitmapList object. | |
nBitsPerPixel | Specifies the bits per pixel to be used when load the bitmaplist in the animation Window. | |
nColorOrder | 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: | |
Value | Meaning | |
ORDER_RGB | [0] Red, green, and blue color order | |
ORDER_BGR | [1] Blue, green, and red color order | |
ORDER_GRAY | [2] 12 or 16-bit grayscale image. 12 and 16-bit grayscale images are only supported in the Document/Medical toolkits only. | |
ORDER_RGBORGRAY | [3] 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 | [4] 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.
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.
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