Control.RtlTranslateContent(ContentAlignment) Control.RtlTranslateContent(ContentAlignment) Control.RtlTranslateContent(ContentAlignment) Control.RtlTranslateContent(ContentAlignment) Method

定義

將指定的 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 internal 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

參數

傳回

備註

如果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.

適用於

另請參閱