LBitmapWindow::SetAutoFloaterToRgn

#include "ltwrappr.h"

L_BOOL LBitmapWindow::SetAutoFloaterToRgn(bAutoFloaterToRgn=TRUE)

Enables or disables the automatic creation of a bitmap region when using the TOOL_REGION tool.

Parameters

L_BOOL bAutoFloaterToRgn

Flag that indicates whether to automatically create a region when using the TOOL_REGION. Possible values are:

Value Meaning
TRUE Enable the automatic creation of a region when creating floaters using the TOOL_REGION tool.
FALSE Disable the automatic creation of a region when creating floaters using the TOOL_REGION tool.

Returns

The previous setting.

Value Meaning
TRUE The previous setting was TRUE.
FALSE The previous setting was FALSE.

Comments

LBitmapWindow::SetToolType(TOOL_REGION) lets the user create a floater with the mouse. To create a bitmap region, in addition to the floater, call [LBitmapWindow:SetAutoFloaterToRgn(TRUE). By default, a floater is created, but not a region.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapWindow::GetAutoFloaterToRgn.

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

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