# DisplayRotation

Namespace: **Wisej.Hybrid.Shared.Display**

Assembly: **Wisej.Hybrid** (3.5.0.0)

Represents the rotation a device display can have.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum DisplayRotation : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum DisplayRotation As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name            | Description                                |
| --------------- | ------------------------------------------ |
| **Rotation0**   | The device display is rotated 0 degrees.   |
| **Rotation180** | The device display is rotated 180 degrees. |
| **Rotation270** | The device display is rotated 270 degrees. |
| **Rotation90**  | The device display is rotated 90 degrees.  |
| **Unknown**     | Unknown display rotation.                  |

## Used By

| Name                                                                                                             | Description                                   |
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [DisplayInfo.Rotation](https://docs.wisej.com/hybrid/start/api/wisej.hybrid.displayinfo#rotation)                | The device's rotation.                        |
| [DisplayInfo.Rotation](https://docs.wisej.com/hybrid/start/api/wisej.hybrid.shared.display.displayinfo#rotation) | Gets the orientation of the device's display. |
