LBitmapList::operator=

Summary

Use this operator to copy a bitmap list object.

Syntax

#include "ltwrappr.h"

LBitmapList & LBitmapList::operator=(LBitmapListSrc)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.