FMX.Types.TScreenOrientation

提供: RAD Studio API Documentation
移動先: 案内検索

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

プロパティ

種類 可視性 ソース ユニット
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types


説明

画面やフォームの方向を定義します。これは、この機能をサポートするデバイスに対してのみ利用可能です(具体的には、iPad または iPhone)。

TScreenOrientation 型は、次の定数を定義しています:

定数 意味

Portrait

ポートレート(または縦向き)の画面/フォーム方向。

Landscape

ランドスケープ(または横向き)の画面/フォーム方向。

InvertedPortrait

画面/フォームは縦向きですが、上下が逆で、デバイスのホーム ボタンが上になります (iOS で有効)。

InvertedLandscape

画面/フォームは横向きですが、左右が逆で、デバイスのホーム ボタンが左側になります (iOS で有効)。

関連項目