# 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](/hybrid/start/api/display/wisej.hybrid.displayinfo.md#rotation)                | The device's rotation.                        |
| [DisplayInfo.Rotation](/hybrid/start/api/display/wisej.hybrid.shared.display.displayinfo.md#rotation) | Gets the orientation of the device's display. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/hybrid/start/api/display/wisej.hybrid.shared.display.displayrotation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
