This documentation is archived and is not being maintained.

Control.RtlTranslateContent Method

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

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

Parameters

align
One of the ContentAlignment values.

Return Value

One of the ContentAlignment 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 | ContentAlignment | RtlTranslateAlignment | RtlTranslateHorizontal | RtlTranslateLeftRight

Show: