Visit Gigasoft's Web Site
 ProEssentials v9 Help

TextRenderingHint

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Int32

Default

PETRH_CLEARTYPEGRIDFIT

.NET

PeConfigure.TextRenderingHint

Ocx|Vcl

TextRenderingHint

DLL

PEP_nTEXTRENDERINGHINT

 

Purpose

This property controls the algorithm used to anti-alias text when AntiAliasText is TRUE and RenderEngine is Hybrid or GdiPlus.

.NET Gigasoft.Enums.

ActiveX and

 

TextRenderingHint

DLL Constants

Description

Default

PETRH_DEFAULT (0)

Disables Text Anti-Aliasing

SingleBitPerPixelGridFit

PETRH_SINGLEBITPERPIXELGRIDFIT (1)

Single Bit per Pixel with hinting

SingleBitPerPixel

PETRH_SINGLEBITPERPIXEL (2)

Single Bit per Pixel without hinting

AntiAliasGridFit

PETRH_ANTIALIASGRIDFIT (3)

Anti-Aliasing with hinting

AntiAlias

PETRH_ANTIALIAS (4)

Anti-Aliasing without hinting

ClearTypeGridFit

PETRH_CLEARTYPEGRIDFIT (5)

Clear Type if on XP, Server 2003 or later, else works as ANTIALIAS (4)

 

Comments

PeConfigure.TextRenderingHint members of Pego.PeConfigure, Pesgo.PeConfigure, Pe3do.PeConfigure, Pepso.PeConfigure, Pepco.PeConfigure

 

See Also: RenderEngine, AntiAliasGraphics, AntiAliasText