Modifier

Partager via


TextOptions.SetTextFormattingMode Method

Definition

Sets the TextFormattingMode for the specified element.

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

Parameters

element
DependencyObject

The element to set the TextFormattingMode for.

value
TextFormattingMode

The TextFormattingMode to set on element.

Exceptions

element is null.

Applies to

See also