Export (0) Print
Expand All
Expand Minimize

Control.RtlTranslateLeftRight Method

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

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

Parameters

align
One of the LeftRightAlignment values.

Return Value

One of the LeftRightAlignment 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 | RightToLeft | LeftRightAlignment | RtlTranslateContent | RtlTranslateHorizontal | RtlTranslateAlignment

Show:
© 2014 Microsoft