DriverStringOptions enumeration (gdiplusenums.h)

The DriverStringOptions enumeration specifies the spacing, orientation, and quality of the rendering for driver strings.

Syntax

typedef enum DriverStringOptions {
  DriverStringOptionsCmapLookup = 1,
  DriverStringOptionsVertical = 2,
  DriverStringOptionsRealizedAdvance = 4,
  DriverStringOptionsLimitSubpixel = 8
} ;

Constants

 
DriverStringOptionsCmapLookup
Value: 1
Specifies that the string array contains Unicode character values.
If this flag is not set, each value in array is interpreted as an index to a font glyph that defines a character to be displayed.
DriverStringOptionsVertical
Value: 2
Specifies that the string is displayed vertically.
DriverStringOptionsRealizedAdvance
Value: 4
Specifies that the glyph positions are calculated from the position of the first glyph. If this flag is not set, the glyph positions are obtained from an array of coordinates.
DriverStringOptionsLimitSubpixel
Value: 8
Specifies that less memory should be used for cache of antialiased glyphs. This also produces lower quality. If this flag isn't set, more memory is used, but the quality is higher.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header gdiplusenums.h (include Gdiplus.h)

See also

Antialiasing with Text

Graphics::DrawDriverString

Graphics::MeasureDriverString