RenderOptions::SetClearTypeHint Method (DependencyObject^, ClearTypeHint)

.NET Framework (current version)
 

Sets the value of the ClearTypeHint attached property of the specified element.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
static void SetClearTypeHint(
	DependencyObject^ target,
	ClearTypeHint clearTypeHint
)

Parameters

target
Type: System.Windows::DependencyObject^

The DependencyObject to set the ClearTypeHint attached property on.

clearTypeHint
Type: System.Windows.Media::ClearTypeHint

The new ClearTypeHint value.

Exception Condition
ArgumentNullException

The specified target is null.

.NET Framework
Available since 4.0
Return to top
Show: