LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LBitmapList > LBitmapList Member Functions > LBitmapList::LBitmapList |
#include "ltwrappr.h"
LBitmapList::LBitmapList()
LBitmapList::LBitmapList(pBitmapList)
LBitmapList * pBitmapList; |
/* pointer to an LBitmapList object */ |
Constructs and initializes the member variables of an LBitmapList object.
Parameter |
Description |
pBitmapList |
Pointer to a bitmap list object to be used for initializing the object. |
Returns
None
Comments
LBitmapList::LBitmapList() is the default constructor for the LBitmapList class.
LBitmapList::LBitmapList(pBitmapList) constructor will initialize the class object's bitmap list from the passed object's bitmap list, and then invalidate the passed object.
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.
See Also
Functions: |
Example
This is an example for LBitmapList::LBitmapList():
L_INT LBitmapList__LBitmapListFirstExample() { L_INT nRet; LBitmapList bmpList; // call create to have a valid LBitmapList object nRet = bmpList.Create(); return nRet; } //This is an example for LBitmapList::LBitmapList(pBitmapList): L_INT LBitmapList__LBitmapListSecondExample(HWND hWnd) { UNREFERENCED_PARAMETER(hWnd); LBitmapList FirstList; // call create to make the list valid FirstList.Create(); //... load FirstList with data LBitmapList SecondList(&FirstList); return SUCCESS; }