DeviceData.Orientations

From Xojo Documentation

Enumeration
DeviceData.Orientations

New in 2020r2

The positions the device can be in.

Values

Enum Description
Unknown The orientation of the device cannot be determined.
Portrait The device is perpendicular to the ground with the top of the device pointed upward.
PortraitUpsideDown The device is perpendicular to the ground with the bottom of the device pointed upward.
LandscapeLeft The device is perpendicular to the ground with the top of the device pointed to the left.
LandscapeRight The device is perpendicular to the ground with the top of the device pointed to the right.
FaceUp The device is parallel to the ground with the screen facing upward.
FaceDown The device is parallel to the ground with the screen facing downward.

Compatibility

Web projects on Linux, macOS and Windows operating systems.

See Also

DeviceData.Orientation property.