TextOptions.SetTextHintingMode(DependencyObject, TextHintingMode) 方法

定义

设置指定元素的 TextHintingMode

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

参数

element
DependencyObject

要设置其 TextHintingMode 的元素。

value
TextHintingMode

要对 element 设置的 TextHintingMode

例外

elementnull

适用于

另请参阅