RenderOptions.SetClearTypeHint(DependencyObject, ClearTypeHint) 方法

定义

设置指定元素的 ClearTypeHint 附加属性的值。

public:
 static void SetClearTypeHint(System::Windows::DependencyObject ^ target, System::Windows::Media::ClearTypeHint clearTypeHint);
public static void SetClearTypeHint (System.Windows.DependencyObject target, System.Windows.Media.ClearTypeHint clearTypeHint);
static member SetClearTypeHint : System.Windows.DependencyObject * System.Windows.Media.ClearTypeHint -> unit
Public Shared Sub SetClearTypeHint (target As DependencyObject, clearTypeHint As ClearTypeHint)

参数

target
DependencyObject

要设置其 DependencyObject 附加属性的 ClearTypeHint

clearTypeHint
ClearTypeHint

新的 ClearTypeHint 值。

例外

指定的 targetnull

适用于