Partager via


TEXTMETRICW Struct

Definition

Contains information about a font.

public value class TEXTMETRICW
public value class TEXTMETRICW
struct TEXTMETRICW
public struct TEXTMETRICW
type TEXTMETRICW = struct
Public Structure TEXTMETRICW
Inheritance
TEXTMETRICW

Fields

tmAscent

Contains the distance a character extends above the base line.

tmAveCharWidth

Contains the average width of characters.

tmBreakChar

Contains the character used to define word breaks for text justification.

tmCharSet

Contains a TextMetricsCharacterSet values that specifies the character set of the font.

tmDefaultChar

Contains the character to be substituted for characters not in the font.

tmDescent

Contains the distance characters extend below the baseline.

tmDigitizedAspectX

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

tmDigitizedAspectY

Contains the vertical aspect of the device for which the font was designed.

tmExternalLeading

Contains the amount of extra leading that the application adds between rows.

tmFirstChar

Contains the first character defined in the font.

tmHeight

Contains the maximum height of characters in the font.

tmInternalLeading

Contains the amount of leading inside the bounds set by the Height property.

tmItalic

Contains a value indicating whether the font is italic.

tmLastChar

Contains the last character defined in the font.

tmMaxCharWidth

Contains the maximum character width.

tmOverhang

Contains the extra width per string that may be added to some synthesized fonts.

tmPitchAndFamily

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

tmStruckOut

Contains a value indicating whether the font specifies a horizontal line through the characters.

tmUnderlined

Contains a value indicating whether the font is underlined.

tmWeight

Contains the weight of the font.

Applies to