Enum DisplayOrientation
Represents the orientation of a display
public enum DisplayOrientation
Fields
Landscape = 1The display is in landscape mode, with the right side up, relative to the display in portrait mode
LandscapeFlipped = 2The display is in landscape mode, with the left side up, relative to the display in portrait mode
Portrait = 3The display is in portrait mode
PortraitFlipped = 4The display is in portrait mode, upside down
Unknown = 0The display orientation can't be determined