Learn how to change a diagonal line to a horizontal or vertical line in PowerPoint 365 for Windows. You'll have to change either the height or width value to zero.
Author: Geetesh Bajaj
Product/Version: PowerPoint 365 for Windows
OS: Microsoft Windows 10 and higher
In PowerPoint, you rotate shapes using the white rotation handle that appears when you select a shape, as shown highlighted in red within Figure 1, below. However, have you ever noticed that the open line shape in PowerPoint doesn't show a white rotation handle? Look at Figure 1, where you can see a diagonal, straight line on the right and a rectangle shape on the left. Both shapes are selected. Yet, notice that the rectangle shape includes a white rotation handle whereas there is no such handle on the Line shape.
Figure 1: Open line shape without a rotation handle
Now, if you want to rotate any diagonal line such as the one shown in Figure 1, above, to make it either perfectly horizontal or vertical, how would you do so? Yes, you can right-click the line to bring up a contextual menu, as shown in Figure 2, below. Within this menu, select the Format Shape option, highlighted in red within Figure 2.
Figure 2: Right-click menu for a Line shape
Doing so brings up the Format Shape Task Pane. Here, select the Size & Properties tab, as shown highlighted in green within Figure 3, below. Within this tab, you can find the Rotation option, as shown highlighted in red within Figure 3, and type in a value, but will that help?
Figure 3: Typing a rotation value
As you can notice, the selected diagonal line has an initial Rotation value of 0°. So, you really have no clue currently to determine how much you must rotate to create a line that's standing vertically or sleeping horizontally! Even though it looks impossible, there is a workaround that can help you to make your Line shape a perfectly horizontal or vertical line using the Width and Height options, as shown highlighted in blue within Figure 3, above.
Follow these steps to rotate a line to make it horizontal or vertical in PowerPoint 365 for Windows:
Yes, now you have rotated your diagonal line. But have you noticed something? Is your line shape retaining its original length even after getting rotated? Unfortunately, it is not! Check out Figure 7, below, which shows a PowerPoint slide containing 3 Line shapes.
Look closely at Figure 7, above, and you will notice that both the rotated lines have lost some length. None of them is of the same length as the original line A. To overcome this drawback, you should know the length of your diagonal line in the first place. But again, there is no specific option in PowerPoint to achieve this objective. The good news is that we have a workaround for this too.
Determine the length of your diagonal line by following our Finding Length of a Diagonal Line in PowerPoint tutorial. Once you have noted down the length value, you can get back the original length of the rotated lines by following these guidelines:
If you're looking to get that perfectly straight line in PowerPoint, all you need to do is hold down the Shift key while drawing it. This little-known trick is sure to come in handy the next time you're giving a presentation.
Now that you've added a line, you can change its rotation value to make it diagonal. To do this, go to the Shape Format tab of the Ribbon and click the dialog launcher in the Size group. In the Format Shape task pane that appears, change the rotation value to -45 degrees (negative or positive).
PowerPoint has two rulers that many users don't know about. Once you know where to find them, they can be extremely useful! The first ruler is horizontal and located at the top of the active slide. The second ruler is vertical and located along the left edge of the slide. To show the rulers, click the View tab of the Ribbon, and in the Show group, check Ruler. To hide the rulers, click View and in the Show group, clear the Ruler box.
06 02 04 - Advanced Shape Techniques: Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint (Glossary Page)
Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint 365 for Mac
Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint 2013 for Windows
Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint 2011 for Mac
Change a Diagonal Line to a Horizontal or Vertical Line in PowerPoint for the Web
You May Also Like: Essential PowerPoint Skills Everyone Needs, Especially Working from Home | Ecology PowerPoint Templates
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.