Editar

Compartilhar via


TextOptions.SetTextRenderingMode(DependencyObject, TextRenderingMode) Method

Definition

Sets the TextRenderingMode for the specified element.

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)

Parameters

element
DependencyObject

The element to set the TextRenderingMode for.

value
TextRenderingMode

The TextRenderingMode to set on element.

Exceptions

element is null.

Applies to

See also