次の方法で共有


Control.RtlTranslateAlignment メソッド (ContentAlignment)

指定した ContentAlignment を適切な ContentAlignment に変換し、テキストを右から左に表示できるようにします。

Overloads Protected Function RtlTranslateAlignment( _
   ByVal align As ContentAlignment _) As ContentAlignment
[C#]
protected ContentAlignment RtlTranslateAlignment(ContentAlignmentalign);
[C++]
protected: ContentAlignment RtlTranslateAlignment(ContentAlignmentalign);
[JScript]
protected function RtlTranslateAlignment(
   align : ContentAlignment) : ContentAlignment;

パラメータ

戻り値

ContentAlignment 値の 1 つ。

解説

RightToLeft プロパティが RightToLeft.No に設定されている場合、戻り値は、渡された align パラメータに等しくなります。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

Control クラス | Control メンバ | System.Windows.Forms 名前空間 | Control.RtlTranslateAlignment オーバーロードの一覧 | RightToLeft | ContentAlignment | RtlTranslateContent | RtlTranslateHorizontal | RtlTranslateLeftRight