Sometimes a scanned image is slanted because the original image was not properly positioned on the scanner. Deskewing rotates the objects in order to make the baseline horizontal or vertical.
Select the objects.
From the Arrange menu, point to Deskew and select either Horizontal or Vertical.