Control.RtlTranslateContent(ContentAlignment) Method

Definition

Преобразует указанный объект ContentAlignment в соответствующий объект ContentAlignment, чтобы обеспечить поддержку текста, читаемого справа налево.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

Одно из значений ContentAlignment.One of the ContentAlignment values.

Returns

ContentAlignment

Одно из значений ContentAlignment.One of the ContentAlignment values.

Remarks

Если свойство RightToLeft RightToLeft имеет значение No, то возвращаемое значение равно переданному параметру align.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