#include "ltwrappr.h"
L_BOOL LFile::IsValid()
Determines whether the LFile object is ready to be used.
TRUE |
The LFile object is ready to be used. |
FALSE |
The LFile object is not ready to be used. |
Before you can use some of the file functions, a bitmap and a filename must be associated with the class object. Until you have associated a bitmap and a filename with the LFile object, the object is considered invalid.
The function will return TRUE only if both the filename and the bitmap have been set and are valid.
The following table describes the functions that require either the bitmap, filename, or both to be set:
Functions: |
Requirements: |
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the bitmap to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the filename to be set |
|
requires the bitmap to be set |
|
requires the filename to be set |
|
does not require either filename or bitmap to be set |
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: |
L_INT LFile__IsValidExample()
{
LBitmapBase LeadBitmap;
LFile LeadFile;
if (LeadFile.IsValid() == FALSE)
LeadFile.SetBitmap(&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