RenderOptions.SetClearTypeHint(DependencyObject, ClearTypeHint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定指定元素附加屬性的值 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 價值。
例外狀況
指定的 target 為 null。