You can easily rotate your images using the RadImageEditor control. Rotations by 90 degrees are supported. The pictures can be rotated using the RadImageEditor's rotate commands, or programmatically on the client, by invoking the rotateImage(rotation) method.
The built-in commands can be rendered on the ToolBar by creating ImageEditorTool objects with Rotate, RotateLeft or RotateRight used as a CommandName. The Rotate command opens a dialog from which the image can be modified, and the other two commands rotate the image by 90 degrees to the left or right respectively.
The rotateImage client-side method accepts a parameter of type Telerik.Web.UI.ImageEditor.Rotation enumeration. The enumeration has 4 (four) values:
-
Rotation.None - the image is not rotated. If the image is currently rotated it restores the original image.
-
Rotation.Rotate90 - the image is rotated clockwise (to the right) by 90 degrees.
-
Rotation.Rotate180 - the image is rotated clockwise by the 180 degrees.
-
Rotation.Rotate270 - the image is rotated clockwise by 270 degrees.