SystemState.DisplayRotation Property

Windows Mobile 6.5

Gets the rotation of the display in degrees. The only possible values are: portrait = 0, right-handed landscape = 90, and left-handed landscape = -90 or 270.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)

public static int DisplayRotation { get; }

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.