This document is archived and information here might be outdated.  Recommended version.


Tool Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Classes > T > Tool Class
ArcGIS Developer Help

ToolClass Class

Tool CoType.

Product Availability

Available with ArcGIS Desktop.

Description

A Tool acts as a button that allows further interaction with the application's display. The Zoom In command is a good example of a tool--you click or drag a rectangle over a map before the display is redrawn to show the map contents in more detail. Toosl can only be placed on toolbars.

To create a custom Tool object, implement both esriSystemUI.ICommand and esriSystemUI.ITool.

Supported Platforms

Windows

Interfaces

Interfaces Description
ICommand (esriSystemUI) Provides access to members that define a COM command.
ITool (esriSystemUI) Provides access to members that define a tool.