#include "ltwrappr.h"
LFile::LFile()
LFile::LFile(pLBitmap)
LFile::LFile(pLBitmap, pFileName)
LBitmapBase * pLBitmap; |
pointer to a LEAD bitmap object |
L_TCHAR * pFileName; |
file name |
Constructs and initializes the member variables of the class object.
Parameter |
Description |
pLBitmap |
Pointer to a LEAD bitmap object, used to initialize the LFile object. |
pFileName |
Character string that contains the name of the file. |
None
LFile::LFile() is a constructor for the LFile class.
LFile::LFile(pLBitmap) also sets the bitmap for the class object.
LFile::LFile(pLBitmap, pFileName) also sets the bitmap for the class object and the filename to associate with the object.
Required DLLs and Libraries
LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
Functions: |
// This is an example for LFile::LFile():
L_INT LFile__LFileExample_1()
{
// this will call the default constructor and destructor when it is out of scope
LFile LeadFile;
//...
return SUCCESS;
}
// This is an example for LFile::LFile(pLBitmap):
L_INT LFile__LFileExample_2()
{
L_INT nRet;
LBitmapBase LeadBitmap ;
nRet = LeadBitmap.Load (MAKE_IMAGE_PATH(TEXT("Image1.cmp")), 24, ORDER_RGB) ;
if(nRet != SUCCESS)
return nRet;
LFile LeadFile (&LeadBitmap) ;
//...
//...
return SUCCESS;
}
// This is an example for LFile::LFile(pLBitmap, pFileName):
L_INT LFile__LFileExample_3(L_TCHAR * pFileName)
{
LBitmapBase LeadBitmap ;
LeadBitmap.Load (MAKE_IMAGE_PATH(TEXT("Image1.cmp")), 24, ORDER_RGB) ;
LFile LeadFile (&LeadBitmap, pFileName) ;
// do process here …
//...
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.