共用方式為


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

適用於

另請參閱