LEADTOOLS Raster Imaging C DLL Help > Function References > L_FreeBitmap |
#include "l_bitmap.h"
L_LTKRN_API L_VOID L_FreeBitmap(pBitmap)
pBITMAPHANDLE pBitmap; |
/* pointer to the bitmap handle */ |
Frees storage allocated for a specified bitmap.
Parameter |
Description |
pBitmap |
Pointer to the bitmap handle referencing the bitmap to free. |
Returns
None.
Comments
This function should be called when your program no longer needs the image data. If the bitmap was allocated in disk memory, this function deletes the temporary file. If the bitmap has a region defined, this function also frees the region.
If after calling L_FreeBitmap you want to use the same bitmap handle to load another image, use the L_InitBitmap function to reinitialize the bitmap handle.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64, Linux.
See Also
Functions: |
|
Topics: |
Example
For complete sample code, refer to the FEATURE1 example.