.NET Framework Class Library

TextRenderingHint Enumeration

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.Graphics Namespace >

.NET Framework Class Library

TextRenderingHint Enumeration

Defines text-rendering quality levels.

Namespace: Gnostice.Core.Graphics

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

Public Enumeration TextRenderingHint

C#

public enum TextRenderingHint

Visual C++

public enum class TextRenderingHint

Members


Member name

Value

Description


SystemDefault

0



SingleBitPerPixelGridFit

1

Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.


SingleBitPerPixel

2

Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.


AntiAliasGridFit

3

Each character is drawn using its glyph bitmap. Hinting is not used.


AntiAlias

4

Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.


ClearTypeGridFit

5

Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.

See Also

Gnostice.Core.Graphics Namespace