This documentation is archived and is not being maintained.

Control.RtlTranslateAlignment Method (HorizontalAlignment)

.NET Framework 1.1

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

[Visual Basic]
Overloads Protected Function RtlTranslateAlignment( _
   ByVal align As HorizontalAlignment _
) As HorizontalAlignment
[C#]
protected HorizontalAlignment RtlTranslateAlignment(
 HorizontalAlignment align
);
[C++]
protected: HorizontalAlignment RtlTranslateAlignment(
 HorizontalAlignment align
);
[JScript]
protected function RtlTranslateAlignment(
   align : HorizontalAlignment
) : HorizontalAlignment;

Parameters

align
One of the HorizontalAlignment values.

Return Value

One of the HorizontalAlignment values.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Control.RtlTranslateAlignment Overload List | RightToLeft | HorizontalAlignment | RtlTranslateContent | RtlTranslateHorizontal | RtlTranslateLeftRight

Show: