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


IHookActions Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IH > IHookActions Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IHookActions Interface

Provides access to actions such as flashing, panning and zooming that help in the development of commands to work with controls, custom controls and applications.

Product Availability

Available with ArcGIS Engine.

Description

Use IHookActions to flash, label and navigate around geometry objects implementing IEnvelope, IPoint, IPolygon and IPolyline.

Members

Name Description
Read-only property ActionSupported Indicates whether the specified action can be performed on the object.
Read-only property ActionSupportedOnMultiple Indicates whether the specified action can be performed on the array of objects.
Method DoAction Perform the action on the object.
Method DoActionOnMultiple Perform the action on the array of objects.
Method DoActionWithName Perform the action on the object using the name.
Method DoActionWithNameOnMultiple Perform the action on the array of objects using the array of names.

CoClasses that implement IHookActions

CoClasses and Classes Description
GlobeHookHelper Helps commands work with the GlobeControl, ArcGlobe, custom controls and applications.
HookHelper Helps commands work with the MapControl, PageLayoutControl, ArcMap, custom controls and applications.

.NET Samples

Using HookActions in custom commands (Code Files: hookActionsCallout hookActionsFlash hookActionsGraphic hookActionsLabel hookActionsPan hookActionsZoom)

.NET Related Topics

Using the control commands