Called when a key is pressed.
[Visual Basic .NET] Public Sub OnKeyDown ( _ ByVal keyState As Integer, _ ByVal shift As Integer _ )
[C#] public void OnKeyDown ( 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 | Editor Class | IEditTask.OnFinishSketch Method | IEditor Interface | IEditTask.OnDeleteSketch Method | IEditTask.Activate Method | IEditTask.Deactivate Method | IEditSketch Interface | IEditAttributeProperties Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | IEditProperties Interface | IEditEvents2 Interface | ISnapEnvironment Interface | IExtension Interface