Control.RtlTranslateLeftRight(LeftRightAlignment) 方法
定義
將指定的 LeftRightAlignment 轉換為適當的 LeftRightAlignment,以支援由右至左的文字。Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
protected:
System::Windows::Forms::LeftRightAlignment RtlTranslateLeftRight(System::Windows::Forms::LeftRightAlignment align);
protected System.Windows.Forms.LeftRightAlignment RtlTranslateLeftRight (System.Windows.Forms.LeftRightAlignment align);
member this.RtlTranslateLeftRight : System.Windows.Forms.LeftRightAlignment -> System.Windows.Forms.LeftRightAlignment
Protected Function RtlTranslateLeftRight (align As LeftRightAlignment) As LeftRightAlignment
參數
- align
- LeftRightAlignment
其中一個 LeftRightAlignment 值。One of the LeftRightAlignment values.
傳回
其中一個 LeftRightAlignment 值。One of the LeftRightAlignment 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.