ESRI.ArcGIS.ADF.Local
BaseTool Class
Members  See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace : BaseTool Class




An abstract class designed to provide an efficient way to create new tool classes for ArcGIS. Inherit BaseTool to create a new custom tool. This class derives from the BaseCommand class.

Syntax

Visual Basic (Declaration) 
Public MustInherit Class BaseTool 
   Inherits BaseCommand
   Implements ICommand, ITool 
Visual Basic (Usage)Copy Code
Dim instance As BaseTool
C# 
public abstract class BaseTool : BaseCommand, ICommand, ITool  

Remarks

Note to inheritors: You must override the OnCreate method, inherited from BaseCommand. Generally you will also override the OnMouseDown, OnMouseMove and/or OnMouseUp methods of the BaseTool and in those members perform the main actions of your custom tool class.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.BaseClasses.BaseCommand
      ESRI.ArcGIS.ADF.BaseClasses.BaseTool

See Also

© 2010 All Rights Reserved.