TextOptions.SetTextRenderingMode(DependencyObject, TextRenderingMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- element
- DependencyObject
The element to set the TextRenderingMode for.
- value
- TextRenderingMode
The TextRenderingMode to set on element
.
Exceptions
element
is null
.