TextOptions.SetTextRenderingMode(DependencyObject, TextRenderingMode) メソッド

定義

指定された要素の TextRenderingMode を設定します。Sets the TextRenderingMode for the specified element.

public:
 static void SetTextRenderingMode(System::Windows::DependencyObject ^ element, System::Windows::Media::TextRenderingMode value);
public static void SetTextRenderingMode (System.Windows.DependencyObject element, System.Windows.Media.TextRenderingMode value);
static member SetTextRenderingMode : System.Windows.DependencyObject * System.Windows.Media.TextRenderingMode -> unit
Public Shared Sub SetTextRenderingMode (element As DependencyObject, value As TextRenderingMode)

パラメーター

element
DependencyObject

TextRenderingMode を設定する対象の要素。The element to set the TextRenderingMode for.

value
TextRenderingMode

element に設定する TextRenderingModeThe TextRenderingMode to set on element.

例外

elementnullです。element is null.

適用対象

こちらもご覧ください