Constructs and initializes the different variables of the class object.
#include "ltwrappr.h"
LMemoryFile::LMemoryFile()
LMemoryFile::LMemoryFile(pBitmap)
Pointer to a LEAD bitmap object, used to initialize the LMemoryFile object.
None.
LMemoryFile::LMemoryFile() is a constructor for the LMemoryFile class.
LMemoryFile::LMemoryFile(pLBitmap) initializes the member variables using the pLBitmap parameter.
Win32, x64.
// 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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document