Control.RtlTranslateHorizontal(HorizontalAlignment) Control.RtlTranslateHorizontal(HorizontalAlignment) Control.RtlTranslateHorizontal(HorizontalAlignment) Control.RtlTranslateHorizontal(HorizontalAlignment) Method

定義

將指定的 HorizontalAlignment 轉換為適當的 HorizontalAlignment,以支援由右至左的文字。Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

protected:
 System::Windows::Forms::HorizontalAlignment RtlTranslateHorizontal(System::Windows::Forms::HorizontalAlignment align);
protected System.Windows.Forms.HorizontalAlignment RtlTranslateHorizontal (System.Windows.Forms.HorizontalAlignment align);
member this.RtlTranslateHorizontal : System.Windows.Forms.HorizontalAlignment -> System.Windows.Forms.HorizontalAlignment
Protected Function RtlTranslateHorizontal (align As HorizontalAlignment) As HorizontalAlignment

參數

傳回

備註

如果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.

適用於

另請參閱