To draw a straight line:
- Make the layer that you want to work with editable. On the HOME tab, in the Windows group, click Tool Windows, and click Layers from the list, to open the Layers window.
You can also see map layers in the Explorer window.
Click the Editable icon beside the layer name to turn On editing.
Click the Selectable icon beside the layer name to turn On selection.
- On the SPATIAL tab, in the Create group, click Insert, and Line.
- Move the pointer to where you want to begin drawing the line.
- Click and hold down the mouse button, and drag the pointer. The line appears on the screen and changes length as you move the pointer.
- Release the mouse button.
Note: Pressing the Shift key while drawing a line constrains the line to horizontal, vertical, or 45-degree diagonal.