With the Text tool, type the text.

Use the Line tool to draw a diagonal line by clicking on a point, and dragging.

With the Pointer tool (The first tool-the black pointer), Hold Shift and Click on the line and then on the Text added.

With the two objects selected, Hold Shift, Ctrl and press Y. The text now becomes diagonal.