LBitmapList::SetBitmapList

Summary

Initializes the class object's bitmap list with the bitmap list from another LBitmapList object.

Syntax

#include "ltwrappr.h"

L_VOID LBitmapList::SetBitmapList(pBitmapList)

Parameters

LBitmapList * pBitmapList

Pointer to a bitmap list.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LBitmapList__SetBitmapListExample(L_TCHAR  * pszFileName) 
{ 
   L_INT nRet; 
   LBitmapList BitmapList, NewBitmapList; 
 
   nRet =BitmapList.Load (pszFileName); 
   if(nRet !=SUCCESS) 
      return nRet; 
   // Initialize the NewBitmapList object with the loaded one 
   NewBitmapList.SetBitmapList (&BitmapList); 
      //... 
   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.