語言

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 for 的元素。

value
TextFormattingMode

該 TextFormattingMode 開始 element。

例外狀況

element 是 null。

適用於

另請參閱