#include "l_bitmap.h"
L_LTDIS_API L_BOOL L_BitmapHasRgn(pBitmap)
pBITMAPHANDLE pBitmap; |
pointer to the bitmap handle |
Determines whether the bitmap has a region.
Parameter |
Description |
pBitmap |
Pointer to the bitmap handle referencing the bitmap to test. |
TRUE |
The specified bitmap has a region. |
FALSE |
The specified bitmap does not have a region. |
When a bitmap has a region, the LEADTOOLS functions that modify the pixel values (for example L_PosterizeBitmap) act on the region, rather than the whole bitmap. In addition, the LEADTOOLS functions that flip, reverse, rotate, shear, or resize a bitmap also transform the region to match the bitmap. For example, if you were to shear the bitmap that had a rectangular region, the region would become a parallelogram.
To remove a bitmap region, use the L_FreeBitmapRgn function.
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. |
Win32, x64, Linux.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET