---
title: "TransformsProvider..::.RotateAndFlip Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_RotateAndFlip_1_71d6aa36.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# TransformsProvider.RotateAndFlip Method 
 
Flips the image and/or rotates it at 90, 180, or 270 degrees (optimized comparing to [Rotate(Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_TransformsProvider_Rotate_1_7a94462e.htm.md) method).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub RotateAndFlip ( _flipMode As RotateFlipType _
)
```
 
```csharp
public void RotateAndFlip(RotateFlipType flipMode
)
```
 
### Parameters
 
 - flipMode
     - Type: [System.Drawing.RotateFlipType](http://msdn2.microsoft.com/en-us/dzxkd42e)
 [RotateFlipType](http://msdn2.microsoft.com/en-us/dzxkd42e) value specifying flip/rotate mode.
 
## Remarks
 You can also use [RotateAndFlip](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RotateAndFlip.htm.md) class to apply this transform. Besides, if you know that you will always rotate the image at 90, 180, or 270 degrees, you can use special optimized RotateAndFlip(RotateFlipType) method (or appropriate [RotateAndFlip](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RotateAndFlip.htm.md) transform).
 
## Examples
  
```
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone)
```
 
```csharp
bitmap.Transforms.RotateAndFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);
```
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
