Control.RtlTranslateContent(ContentAlignment) Method

Definition

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

protected public:
 System::Drawing::ContentAlignment RtlTranslateContent(System::Drawing::ContentAlignment align);
protected:
 System::Drawing::ContentAlignment RtlTranslateContent(System::Drawing::ContentAlignment align);
protected internal System.Drawing.ContentAlignment RtlTranslateContent (System.Drawing.ContentAlignment align);
protected System.Drawing.ContentAlignment RtlTranslateContent (System.Drawing.ContentAlignment align);
member this.RtlTranslateContent : System.Drawing.ContentAlignment -> System.Drawing.ContentAlignment
Protected Friend Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment
Protected Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment

Parameters

align
ContentAlignment

One of the ContentAlignment values.

Returns

ContentAlignment

One of the ContentAlignment values.

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