LBitmapWindow::SetRegionType

Summary

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

Syntax

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetRegionType(uRegionType)

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.