PlatformAPI.TOTADeviceOrientation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TOTADeviceOrientation = (doPortrait, doUpsideDown, doLandscapeLeft, doLandscapeRight);

C++

enum DECLSPEC_DENUM TOTADeviceOrientation : unsigned char { doPortrait, doUpsideDown, doLandscapeLeft, doLandscapeRight };

Properties

Type Visibility Source Unit Parent
enum public
PlatformAPI.pas
PlatformAPI.hpp
PlatformAPI PlatformAPI

Description

TOTADeviceOrientation is a type of device orientation. The following orientations are supported:

doPortrait

DeviceOrientationPortrait.png

doLandscapeRight

DeviceOrientationLandscapeRight.png

doUpsideDown

DeviceOrientationUpsideDown.png

doLandscapeLeft

DeviceOrientationLandscapeLeft.png