If you know the angle at which you want the line to slope, you can do this.
Click the Shapes button and choose the line option.
With the line selected, click the Format brush to open the Format Inspector, and choose Arrange.
In the Arrange panel, replace the 45 in the Angle box with 0. This will rotate your line into the horizontal orientation.
To set the length of your line:
- Use the left and right arrows, or Click on the centre of the line and drag to place the left end in a position where the x Start box contains an integer.
- Adjust the length of the line by entering a value in the X End box that palces the end as far from the start as you want.
- Use the Angle box to set the slope of the line to the angle you want. Rotation is counter-clockwise from 0 (horizontal).
- With the line now at the desired length and angle, drag it into position, remembering to not grab the handles at either end, OR use the arrow keys* to nudge the line into position.
*Pressing the shift key will increase the distance that objects move with each tap of an arrow key. When duplicating an object (by selecting the object, then pressing command-D), pressing shift-left arrow once and shift-up arrow once will place the duplicate in exactly the same screen position as the original.
Regards,
Barry