Control.RtlTranslateHorizontal(HorizontalAlignment) Method

Definition

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

Parameters

align
HorizontalAlignment

One of the HorizontalAlignment values.

Returns

Remarks

If the RightToLeft property of RightToLeft is set to No, the return value is equal to the align parameter passed in.

Applies to

See also