LBitmapWindow::SetToolType

Summary

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

Syntax

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetToolType(uToolType)

Parameters

L_UINT uToolType

The tool type to be used by the bitmap window. Possible values are:

Value Meaning
TOOL_USERMODE user tool type (default).
TOOL_PANIMAGE pan image tool.
TOOL_ZOOMRECT zoom rect tool.
TOOL_ZOOM_ON_MOUSECLICK zoom in/out on mouse click.
TOOL_REGION region tool type, the region shape is specified by LBitmapWindow::SetRegionType() function.
TOOL_MAGGLASS magnifying glass tool.
TOOL_ZOOMVIEW Zoom View tool.

Returns

None.

Comments

The bitmap window can automatically perform some functions. These include panning the image, zooming a user-defined rectangle to fit the window, zooming in/out on a mouse click, and creating a bitmap region (floater) based on a user-defined shape.

The default setting for an LBitmapWindow object is TOOL_USERMODE.

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.