Share via


DisplayRotation Enum

Definition

Defines constants that specify how to rotate content from a frame buffer to a target.

public enum class DisplayRotation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayRotation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayRotation
var value = Windows.Devices.Display.Core.DisplayRotation.none
Public Enum DisplayRotation
Inheritance
DisplayRotation
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

Name Value Description
None 0

Specifies no rotation.

Clockwise90Degrees 1

Specifies a rotation of 90 degrees clockwise.

Clockwise180Degrees 2

Specifies a rotation of 180 degrees clockwise.

Clockwise270Degrees 3

Specifies a rotation of 270 degrees clockwise.

Applies to