Control.RtlTranslateContent(ContentAlignment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈