Deletes a tool's button from the toolbar.
Visual Basic |
---|
Public Sub ToolbarDeleteTool( _ ByVal Tool As enumIXTool _ ) |
- Tool
An enumIXTool to be deleted from the toolbar.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.
The tool button will no longer be visible in the toolbar. This is similar to setting the ToolbarSetToolVisible method to False, except the tool button can not be added back into the toolbar.