Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_FreeBitmap

Show in webframe

#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

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.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_CreateBitmap, L_InitBitmap, L_AllocateBitmap

Topics:

Raster Image Functions: Creating and Deleting Images

Example

For complete sample code, refer to the FEATURE1 example.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.