Enum DisplayOrientation
Defines the orientation of the display.
[Flags]
public enum DisplayOrientation
Fields
Default = 0The default orientation.
LandscapeLeft = 1The display is rotated counterclockwise into a landscape orientation. Width is greater than height.
LandscapeRight = 2The display is rotated clockwise into a landscape orientation. Width is greater than height.
Portrait = 4The display is rotated as portrait, where height is greater than width.
PortraitDown = 8The display is rotated as inverted portrait, where height is greater than width.
Unknown = 16Unknown display orientation.