Editare

Partajați prin


Control.RtlTranslateContent(ContentAlignment) Method

Definition

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

protected:
 System::Drawing::ContentAlignment RtlTranslateContent(System::Drawing::ContentAlignment align);
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);
member this.RtlTranslateContent : System.Drawing.ContentAlignment -> System.Drawing.ContentAlignment
Protected Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment
Protected Friend Function RtlTranslateContent (align As ContentAlignment) As ContentAlignment

Parameters

align
ContentAlignment

One of the ContentAlignment values.

Returns

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