L_VOID LBitmapWindow::SetToolType(uToolType)
Sets the tool type for the class object's window.
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. |
None.
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.
Win32, x64.
For an example, refer to LBitmapWindow::GetBitmapVisibleRect.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document