FMX.Types.TScreenOrientation
Delphi
TScreenOrientation = (Portrait, Landscape, InvertedPortrait, InvertedLandscape);
C++
enum class DECLSPEC_DENUM TScreenOrientation : unsigned int { Portrait, Landscape, InvertedPortrait, InvertedLandscape };
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | FMX.Types.pas FMX.Types.hpp  | 
        FMX.Types | FMX.Types | 
Description
Defines the screen or form orientations that are available for devices that support this feature (for instance, an iPad or an iPhone).
The TScreenOrientation type defines the following constants:
| Constant | Meaning | 
|---|---|
| 
 
  | 
 Portrait (or vertical) screen/form orientation.  | 
| 
 
  | 
 Landscape (or horizontal) screen/form orientation.  | 
| 
 
  | 
 Screen/form is in vertical orientation but upside down, with the device held upright and the home button at the top. (Under iOS)  | 
| 
 
  | 
 Screen/form is in horizontal orientation but upside down, with the device held upright and the home button at the left side. (Under iOS)  |