Control.RtlTranslateContent(ContentAlignment) メソッド

定義

指定した ContentAlignment を適切な ContentAlignment に変換し、テキストを右から左に表示できるようにします。Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.

protected public:
 System::Drawing::ContentAlignment RtlTranslateContent(System::Drawing::ContentAlignment align);
protected:
 System::Drawing::ContentAlignment RtlTranslateContent(System::Drawing::ContentAlignment align);
protected internal System.Drawing.ContentAlignment RtlTranslateContent (System.Drawing.ContentAlignment align);
protected System.Drawing.ContentAlignment RtlTranslateContent (System.Drawing.ContentAlignment align);
member this.RtlTranslateContent : System.Drawing.ContentAlignment -> System.Drawing.ContentAlignment
Protected Friend Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment
Protected Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment

パラメーター

align
ContentAlignment

ContentAlignment 値のいずれか 1 つ。One of the ContentAlignment values.

戻り値

ContentAlignment

ContentAlignment 値のいずれか 1 つ。One of the ContentAlignment values.

注釈

RightToLeftのプロパティがに設定されている場合、 RightToLeft No 戻り値は渡されたパラメーターと同じに align なります。If the RightToLeft property of RightToLeft is set to No, the return value is equal to the align parameter passed in.

適用対象

こちらもご覧ください