xtd 0.2.0
Loading...
Searching...
No Matches

◆ text_rendering_hint() [2/2]

graphics & xtd::drawing::graphics::text_rendering_hint ( xtd::drawing::text::text_rendering_hint  value)

Sets the rendering mode for text associated with this xtd::drawing::graphics.

Parameters
valueOne of the xtd::drawing::graphics::text_rendering_hint values.
Returns
This current instance.
Remarks
The text rendering hint specifies whether text renders with antialiasing.
Note
You should not use a xtd::drawing::graphics::compositing_mode property value of xtd::drawing::graphics::source_copy when the xtd::drawing::graphics::text_rendering_hint property is set to xtd::drawing::graphics::text_rendering_hint::clear_type_grid_fit. An exception could occur or the image may not render correctly.