LBitmapList::operator=

#include "ltwrappr.h"

LBitmapList & LBitmapList::operator=(LBitmapListSrc)

Use this operator to copy a bitmap list object.

Parameters

LBitmapList& 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

Platforms

Win32, x64.

See Also

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; 
} 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.