TextOptions.GetTextRenderingMode(DependencyObject) 方法

定义

获取指定元素的 TextRenderingMode

public:
 static System::Windows::Media::TextRenderingMode GetTextRenderingMode(System::Windows::DependencyObject ^ element);
public static System.Windows.Media.TextRenderingMode GetTextRenderingMode (System.Windows.DependencyObject element);
static member GetTextRenderingMode : System.Windows.DependencyObject -> System.Windows.Media.TextRenderingMode
Public Shared Function GetTextRenderingMode (element As DependencyObject) As TextRenderingMode

参数

element
DependencyObject

要获取其 TextRenderingMode 的元素。

返回

TextRenderingMode

elementTextRenderingMode

适用于

另请参阅