Click or drag to resize
GdiFontMetrics Properties

The GdiFontMetrics type exposes the following members.

Properties
  NameDescription
Public propertyAnsiKerningPairs
Gets a collection of kerning pairs for characters defined in the WinAnsiEncoding scheme only.
Public propertyAscent
Specifies the maximum distance characters in this font extend above the base line. This is the typographic ascent for the font.
Public propertyAverageWidth
Gets the average width of glyphs in a font.
Public propertyBoundingBox
Gets the font's bounding box.
Public propertyCapHeight
Gets the distance between the baseline and the approximate height of uppercase letters.
Public propertyDescent
Specifies the maximum distance characters in this font extend below the base line. This is the typographic descent for the font.
Public propertyEmSquare
Specifies the number of logical units defining the x- or y-dimension of the em square for this font. The common value for EmSquare is 2048.
Public propertyFaceName
Retrieves the typeface name of the font that is selected into the device context supplied to the GdiFontMetrics constructor.
Public propertyFirstChar
Gets the value of the first character defined in the font
Public propertyFlags
Gets a collection of flags defining various characteristics of a font (e.g. serif or sans-serif, symbolic, etc).
Public propertyIsEmbeddable
Gets a value indicating whether the font can be legally embedded within a document.
Public propertyIsSubsettable
Gets a value indicating whether the font can be legally subsetted.
Public propertyItalicAngle
Gets the main italic angle of the font expressed in tenths of a degree counterclockwise from the vertical.
Public propertyKerningPairs
Gets a collection of kerning pairs.
Public propertyLastChar
Gets the value of the last character defined in the font
Public propertyMaxWidth
Gets the maximum width of glyphs in a font.
Public propertyStemV
TODO: The thickness, measured horizontally, of the dominant vertical stems of the glyphs in the font.
Public propertyXHeight
Gets the distance between the baseline and the approximate height of non-ascending lowercase letters.
Top
See Also