LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LBitmapWindow > LBitmapWindow Member Functions > LBitmapWindow::SetRegionType |
#include "ltwrappr.h"
L_VOID LBitmapWindow::SetRegionType(uRegionType)
L_UINT uRegionType; |
/* the region type to set */ |
Sets the region type for the class object's window.
Parameter |
Description |
|
uRegionType |
The region type to set. Possible values are: |
|
|
Value |
Meaning |
|
REGION_TYPE_POLYGON |
polygonal region. |
|
REGION_TYPE_RECT |
rectangular region. |
|
REGION_TYPE_ELIPSE |
elliptical region. |
|
REGION_TYPE_ROUNDRECT |
round rectangle region. |
|
REGION_TYPE_TRIANGLE |
triangular region. |
|
REGION_TYPE_FREE_HAND |
freehand region. |
|
REGION_TYPE_CURVE |
smooth curved region. |
|
REGION_TYPE_BEZIER |
curved region that is composed of a series of Bezier curves. |
Returns
None
Comments
This setting determines the shape of a region, created when the user clicks and drags the mouse, if the LBitmapWindow object is set to use the TOOL_REGION tool. See LBitmapWindow::SetToolType for more information.
The default setting is REGION_TYPE_POLYGON.
Required DLLs and Libraries
LTDIS 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.
See Also
Functions: |
|
Topics: |
|
|
|
|
Example
For an example, refer to LBitmapWindow::GetBitmapVisibleRect.