Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::SetToolType

Show in webframe

#include "ltwrappr.h"

L_VOID LBitmapWindow::SetToolType(uToolType)

L_UINT uToolType;

/* the tool type */

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

Parameter

Description

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

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

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:

Class Members

Topics:

Using the Zoom View

Example

For an example, refer to LBitmapWindow::GetBitmapVisibleRect.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.