Språk

TextOptions.SetTextFormattingMode Metod

Definition

TextFormattingMode Anger för det angivna elementet.

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)

Parametrar

element
DependencyObject

Elementet som ska ställas in för TextFormattingMode .

value
TextFormattingMode

För TextFormattingMode att ställa in på element.

Undantag

element är null.

Gäller för

Se även