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
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for