# Rotate via the UI

You can use the rotate buttons to directly rotate the image. No dialog is shown in this case.

![WinForms RadImageEditor Rotate Option](https://www.telerik.com/products/winforms/documentation/assets/095fe9a34d6ac4fa74c6adb5848fcd6c/image-editor-rotate001.png)

## Rotate Programmatically

The following spinet shows how you can access and use the **RotateFlip** method.

#### Rotate programmatically

```C#
radImageEditor1.ImageEditorElement.RotateFlip(RotateFlipType.Rotate270FlipNone);
radImageEditor1.ImageEditorElement.SaveState();
```

```VB.NET
radImageEditor1.ImageEditorElement.RotateFlip(RotateFlipType.Rotate270FlipNone)
radImageEditor1.ImageEditorElement.SaveState()
```

## See Also

* [Getting Started](https://www.telerik.com/products/winforms/documentation/controls/image-editor/getting-started)
* [Structure](https://www.telerik.com/products/winforms/documentation/controls/image-editor/structure)
* [Properties and Events](https://www.telerik.com/products/winforms/documentation/controls/image-editor/properties-and-events)
