編輯

共用方式為


TextOptions.SetTextHintingMode(DependencyObject, TextHintingMode) Method

Definition

Sets the TextHintingMode for the specified element.

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)

Parameters

element
DependencyObject

The element to set the TextHintingMode for.

value
TextHintingMode

The TextHintingMode to set on element.

Exceptions

element is null.

Applies to

See also