Control.RtlTranslateAlignment Method (HorizontalAlignment)


Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Protected Function RtlTranslateAlignment (
	align As HorizontalAlignment
) As HorizontalAlignment


Type: System.Windows.Forms.HorizontalAlignment

One of the HorizontalAlignment values.

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

.NET Framework
Available since 1.1
Return to top