FMX.Types.TScreenOrientation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TScreenOrientation = (Portrait, Landscape, InvertedPortrait, InvertedLandscape);

C++

enum class DECLSPEC_DENUM TScreenOrientation : unsigned int { Portrait, Landscape, InvertedPortrait, InvertedLandscape, soPortrait _DEPRECATED_ATTRIBUTE3("Use TScreenOrientation.Portrait")  = 0, soLandscape _DEPRECATED_ATTRIBUTE3("Use TScreenOrientation.Landscape")  = 1, soInvertedPortrait _DEPRECATED_ATTRIBUTE3("Use TScreenOrientation.InvertedPortrait")  = 2, soInvertedLandscape _DEPRECATED_ATTRIBUTE3("Use TScreenOrientation.InvertedLandscape")  = 3 };

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

Portrait (or vertical) screen/form orientation.

Landscape

Landscape (or horizontal) screen/form orientation.

InvertedPortrait

Screen/form is in vertical orientation but upside down, with the device held upright and the home button at the top. (Under iOS)

InvertedLandscape

Screen/form is in horizontal orientation but upside down, with the device held upright and the home button at the left side. (Under iOS)

See Also