LEADTOOLS Raster Imaging C DLL Help > Function References > L_FreeBitmapRgn |
#include "l_bitmap.h"
L_LTDIS_API L_INT L_FreeBitmapRgn(pBitmap)
pBITMAPHANDLE pBitmap; |
/* pointer to the bitmap handle */ |
Removes the region from the bitmap and frees the memory used for the region.
Parameter |
Description |
pBitmap |
Pointer to the bitmap handle referencing the bitmap that has the region. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
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: |
L_FrameBitmapRgn, L_BitmapHasRgn, L_GetBitmapRgnArea, L_IsPtInBitmapRgn |
Topics: |
|
|
|
|
Example
For a short example, refer to L_SetBitmapRgnEllipse. For complete sample code, refer to the CHILD.C module of the DEMO example.