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

要对 element 设置的 TextFormattingMode

例外

elementnull

适用于

另请参阅