LBitmapWindow::SetRegionType

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetRegionType(uRegionType)

Sets the region type for the class object's window.

Parameters

L_UINT 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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapWindow::GetBitmapVisibleRect.

Help Version 21.0.2021.4.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help