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

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 |