语言

TextOptions.SetTextFormattingMode 方法

定义

设置 TextFormattingMode 指定元素。

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)

参数

element
DependencyObject

要为其设置的 TextFormattingMode 元素。

value
TextFormattingMode

要 TextFormattingMode 设置的 element。

例外

element 是 null。

适用于

另请参阅