Raised when a tool action occurs.
Visual Basic |
---|
Public Event ToolUse( _ ByVal Tool As enumIXTool, _ ByVal Action As enumIXToolAction, _ ByVal x As Long, _ ByVal y As Long _ ) |
- Tool
Value Description TOOL_Hand Image panning tool. TOOL_Mag Magnifying window. TOOL_MouseWheelHorizScroll Mouse wheel horizontal scroll. TOOL_MouseWheelVertScroll Mouse wheel vertical scroll. TOOL_MouseWheelZoom Mouse wheel zoom. TOOL_None No tool selected. TOOL_Pan Image viewing pan tool. TOOL_Select Rubberband window selection tool. TOOL_ZoomIn Zoom in tool. TOOL_ZoomOut Zoom out tool. TOOL_ZoomRect Zoom rectangle tool. - Action
Value Description TOOLACTION_Begin Begin tool operation. TOOLACTION_Clicked Tool clicked (activated). TOOLACTION_End Tool operation complete. - x
- The horizontal coordinate of the tool relative to the control's area.
- y
- The horizontal coordinate of the tool relative to the control's area.
Provides information for which tool was used, which action the tool took and where it was used.