TextOptions.SetTextRenderingMode(DependencyObject, TextRenderingMode) 方法

定义

设置指定元素的 TextRenderingMode

public:
 static void SetTextRenderingMode(System::Windows::DependencyObject ^ element, System::Windows::Media::TextRenderingMode value);
public static void SetTextRenderingMode (System.Windows.DependencyObject element, System.Windows.Media.TextRenderingMode value);
static member SetTextRenderingMode : System.Windows.DependencyObject * System.Windows.Media.TextRenderingMode -> unit
Public Shared Sub SetTextRenderingMode (element As DependencyObject, value As TextRenderingMode)

参数

element
DependencyObject

要设置其 TextRenderingMode 的元素。

value
TextRenderingMode

要对 element 设置的 TextRenderingMode

例外

elementnull

适用于

另请参阅