LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LBitmapList > LBitmapList Member Functions > LBitmapList::operator= |
#include "ltwrappr.h"
LBitmapList & LBitmapList::operator=(LBitmapListSrc)
LBitmapList & LBitmapListSrc; |
/* the bitmap list object to be copied */ |
Use this operator to copy a bitmap list object.
Parameter |
Description |
LBitmapListSrc |
The bitmap list object to be copied. |
Returns
Reference to the bitmap list.
Comments
This will create a new bitmap list and copy the items from the source object. This results in two valid objects, both having their own copy of the data.
The LBitmapListSrc parameter is passed by reference, and is a required parameter.
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
L_INT LBitmapList__operatoreExample() { L_INT nRet; LBitmapList FirstList; nRet =FirstList.Create(); if(nRet !=SUCCESS) return nRet; //... load FirstList with data LBitmapList SecondList; // Use = operator to copy the list from FirstList to SecondList SecondList = FirstList; return SUCCESS; }