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


IEditSketchExtension2.OnKeyUp Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketchExtension2 Interface > IEditSketchExtension2.OnKeyUp Method
ArcGIS Developer Help

IEditSketchExtension2.OnKeyUp Method

Called when a key is pressed.

[Visual Basic .NET]
Public Sub OnKeyUp ( _
    ByVal keyState As Integer, _
    ByVal shift As Integer _
)
[C#]
public void OnKeyUp (
    int keyState,
    int shift
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Use this event to associate a hotkey to your custom sketch tool.

See Also

IEditSketchExtension2 Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface