[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.FontMetric

FontMetric Struct

Represents the basic information about a physical font.

Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
public struct FontMetric

Fields

Name Description
Ascent

Specifies the ascent (units above the base line) of characters.

AveCharWidth

Specifies the average width of characters in the font (generally defined as the width of the letter x). This value does not include the overhang required for bold or italic characters.

BreakChar

Specifies the value of the character that will be used to define word breaks for text justification.

CharSet

Specifies the character set of the font. The character set can be one of the following values.

DefaultChar

Specifies the value of the character to be substituted for characters not in the font.

Descent

Specifies the descent (units below the base line) of characters.

DigitizedAspectX

Specifies the horizontal aspect of the device for which the font was designed.

DigitizedAspectY

Specifies the vertical aspect of the device for which the font was designed. The ratio of the tmDigitizedAspectX and tmDigitizedAspectY members is the aspect ratio of the device for which the font was designed.

ExternalLeading

Specifies the amount of extra leading (space) that the application adds between rows. Since this area is outside the font, it contains no marks and is not altered by text output calls in either OPAQUE or TRANSPARENT mode. The designer may set this member to zero.

FirstChar

Specifies the value of the first character defined in the font.

Height

Specifies the height (ascent + descent) of characters.

InternalLeading

Specifies the amount of leading (space) inside the bounds set by the tmHeight member. Accent marks and other diacritical characters may occur in this area. The designer may set this member to zero.

Italic

Specifies an italic font if it is nonzero.

LastChar

Specifies the value of the last character defined in the font.

MaxCharWidth

Specifies the width of the widest character in the font.

Overhang

Specifies the extra width per string that may be added to some synthesized fonts. When synthesizing some attributes, such as bold or italic, graphics device interface (GDI) or a device may have to add width to a string on both a per-character and per-string basis.

PitchAndFamily

Specifies information about the pitch, the technology, and the family of a physical font.

StruckOut

Specifies a strikeout font if it is nonzero.

Underlined

Specifies an underlined font if it is nonzero.

Weight

Specifies the weight of the font.