LBaseFile::SetBitmap (original) (raw)
Summary
Sets the bitmap object that will be used by I/O functions.
Syntax
#include "ltwrappr.h"
L_VOID LBaseFile::SetBitmap(pBitmap)
Parameters
LBitmapBase * pBitmap
Pointer to a LEAD bitmap object to be used for I/O functions.
Returns
None.
Comments
If the filename of the LBitmapBase object is enabled, then the bitmap filename will be transferred to the class object.
Before you can use any of the file functions, a bitmap must be associated with the class object. Until you have associated a bitmap with the LBaseFile object, the object is considered invalid.
Required DLLs and Libraries
- LTKRN
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
See Also
Example
L_INT LBaseFile__SetBitmapExample(LBitmapBase *pLBitmap)
{
LBaseFile baseFile;
baseFile.SetBitmap(pLBitmap) ;
return SUCCESS;
}
LEADTOOLS Raster Imaging C++ Class Library Help