Using keyboard shortcuts when editing (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > Developing with ArcGIS > Learning ArcObjects > Editing data > ArcGIS Engine editing > Using keyboard shortcuts when editing (ArcObjects .NET 10.6 SDK)

Using keyboard shortcuts when editing


Summary
This topic details the available keyboard shortcuts when editing by using the out-of-the-box Sketch or Edit tools in an ArcGIS Engine application.

In this topic


About using keyboard shortcuts when editing

Keyboard shortcuts are available when using the Sketch (ControlsEditingSketchTool) or Edit tool (ControlsEditingEditTool). This topic discusses shortcuts common to both tools.

Shortcuts common to the Sketch and Edit tools

The following table shows shortcuts common to the Sketch and Edit tools:
Shortcut key
Editing function
Ctrl+Z
Zoom in
Ctrl+X
Zoom out
Ctrl+C
Pan
Ctrl+V
Show vertices
Ctrl+Spacebar
Suspend snapping

Shortcuts common to the Sketch tool

The following table shows shortcuts that are also available on the Edit Sketch context menu (ControlsEditingSketchContextMenu):
Shortcut key
Editing function
Ctrl+A
Direction
Ctrl+F
Deflection
Ctrl+L
Length
Ctrl+D
Delta x,y
Ctrl+G
Direction and length
Ctrl+P
Parallel
Ctrl+E
Perpendicular
F6
Absolute x,y
F7
Segment deflection
F8
Streaming
Ctrl+F5
Snap to feature:endpoint
Ctrl+F6
Snap to feature:vertex
Ctrl+F7
Snap to feature:midpoint
Ctrl+F8
Snap to feature:edge
Ctrl+Delete
Delete sketch
The Feature editing with the control commands sample demonstrates using the out-of-the-box editing commands, including the use of the Edit Sketch context menu.
To use shortcut keys (or accelerator keys) from the context menu—ControlsEditingSketchContextMenu—set the form KeyPreview property and translate the keycode using the ICommandPool2.TranslateAcceleratorKey in the Form_KeyDown. For more information, see the previously mentioned ControlsEditingSketchContextMenu.






Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced