The LBitmapRgn class is derived from the LBase class and contains support for region of interest processing. A bitmap region is an area of interest within a bitmap. A bitmap can have only one region at a time, but the region can be complex, including, for example, multiple noncontiguous shapes. For more information, refer to Creating a Bitmap Region. In order to use this class, you must first associate an LBitmapBase object with it. Then, you can use the various region functions to create, modify, and destroy regions of interest in the associated LBitmapBase object's bitmap. When processing a bitmap that contains a region, there are two possible outcomes: 1) only the bitmap region is processed, 2) both the bitmap and the bitmap region are processed. For more information, refer to Functions Where the Region Preempts the Bitmap and Functions That Transform the Region and the Bitmap.

When calling some functions of the LBitmapBase LEADTOOLS C++ Class Library classes, the bitmap data is changed. To be notified of these changes, you can override the LBitmapBase::StartChanging and LBitmapBase::EndChanging functions. For more information, refer to Bitmap Change Notifications and Notification Categories.

Required Libraries

You must load all required libraries using LBase::LoadLibraries before using the classes.


For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help