LMemoryFile::LMemoryFile

Summary

Constructs and initializes the different variables of the class object.

Syntax

#include "ltwrappr.h"

LMemoryFile::LMemoryFile()

LMemoryFile::LMemoryFile(pBitmap)

Parameters

LBitmapBase * pBitmap

Pointer to a LEAD bitmap object, used to initialize the LMemoryFile object.

Returns

None.

Comments

LMemoryFile::LMemoryFile() is a constructor for the LMemoryFile class.

LMemoryFile::LMemoryFile(pLBitmap) initializes the member variables using the pLBitmap parameter.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

// This is an example for LMemoryFile::LMemoryFile(): 
 
L_INT LMemoryFile__LMemoryFileExample_1() 
{ 
     // this will call the default constructor and destructor when it is out of scope 
     LMemoryFile memFile; 
 
     // 
 
     return SUCCESS; 
} 
 
// This is an example for LMemoryFile::LMemoryFile(pLBitmap): 
L_INT LMemoryFile__LMemoryFileExample_2() 
{ 
   L_INT          nRet; 
   LBitmapBase    LeadBitmap; 
   nRet = LeadBitmap.Load (MAKE_IMAGE_PATH(TEXT("Image1.cmp")),24,ORDER_RGB) ; 
   if(nRet != SUCCESS) 
      return nRet; 
 
   LMemoryFile memFile(&LeadBitmap) ; 
 
   //... 
 
   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.