共用方式為


Control.RtlTranslateContent(ContentAlignment) 方法

定義

將指定的 ContentAlignment 轉換為適當的 ContentAlignment,以支援由右至左的文字。

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

參數

align
ContentAlignment

其中一個 ContentAlignment 值。

傳回

ContentAlignment

其中一個 ContentAlignment 值。

備註

如果 的 RightToLeft RightToLeft 屬性設定 No 為 ,則傳回值等於傳入的參數 align

適用於

另請參閱