Name
TextRenderingHint
Synopsis
This enumeration is used by the
System.Drawing.Graphics.TextRenderingHint
to
determine the quality with which text is rendered on the graphics
surface. As will all the GDI+ rendering hints, there is a trade-off
between rendering quality and speed, from
SingleBitPerPixel
to
ClearTypeGridFit
.
public enum TextRenderingHint { SystemDefault = 0, SingleBitPerPixelGridFit = 1, SingleBitPerPixel = 2, AntiAliasGridFit = 3, AntiAlias = 4, ClearTypeGridFit = 5 }
Hierarchy
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable
,
System.IConvertible)
→ TextRenderingHint
Returned By
System.Drawing.Graphics.TextRenderingHint
Passed To
System.Drawing.Graphics.TextRenderingHint
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.