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.

Object Model

BaseTool Class

Syntax

Visual Basic (Declaration) 
Public MustInherit Class BaseTool 
   Inherits BaseCommand
   Implements ESRI.ArcGIS.SystemUI.ICommand, ESRI.ArcGIS.SystemUI.ITool 
Visual Basic (Usage)Copy Code
Dim instance As BaseTool
C# 
public abstract class BaseTool : BaseCommand, ESRI.ArcGIS.SystemUI.ICommand, ESRI.ArcGIS.SystemUI.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.