Control.RtlTranslateLeftRight(LeftRightAlignment) Control.RtlTranslateLeftRight(LeftRightAlignment) Control.RtlTranslateLeftRight(LeftRightAlignment) Control.RtlTranslateLeftRight(LeftRightAlignment) Method

定義

將指定的 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

參數

傳回

備註

No align如果的RightToLeft屬性設定為,則傳回值會等於傳入的參數。 RightToLeftIf the RightToLeft property of RightToLeft is set to No, the return value is equal to the align parameter passed in.

適用於

另請參閱