TextOptions.SetTextRenderingMode Method (DependencyObject, TextRenderingMode)

.NET Framework (current version)
 

Sets the TextRenderingMode for the specified element.

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

public static void SetTextRenderingMode(
	DependencyObject element,
	TextRenderingMode value
)

Parameters

element
Type: System.Windows.DependencyObject

The element to set the TextRenderingMode for.

value
Type: System.Windows.Media.TextRenderingMode

The TextRenderingMode to set on element.

Exception Condition
ArgumentNullException

element is null.

.NET Framework
Available since 4.0
Return to top
Show: