TextOptions.SetTextFormattingMode Metoda

Definice

Nastaví hodnotu TextFormattingMode pro zadaný prvek.

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)

Parametry

element
DependencyObject

Element, který se má nastavit pro TextFormattingMode .

value
TextFormattingMode

Nastavení TextFormattingMode pro nastavení na element.

Výjimky

element je null.

Platí pro

Viz také