FMX.Types.TScreenOrientation

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 };

Propriétés

Type Visibilité  Source Unité  Parent
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Définit les orientations de l'écran ou de la fiche disponibles pour les périphériques supportant cette fonctionnalité (par exemple, un iPad ou un iPhone).

Le type TScreenOrientation définit les constantes suivantes :

Constante Signification

Portrait

Définit l'orientation portrait (ou verticale) de l'écran/de la fiche.

Landscape

Définit l'orientation paysage (ou horizontale) de l'écran/de la fiche.

InvertedPortrait

L'écran/La fiche est en position verticale mais à l'envers ; le périphérique est tenu verticalement, et le bouton principal est en haut. (Sous iOS)

InvertedLandscape

L'écran/La fiche est en position horizontale mais à l'envers ; le périphérique est tenu verticalement, et le bouton principal est à gauche. (Sous iOS)

Voir aussi