Share via


TEXTMETRICW Members

Include Protected Members
Include Inherited Members

Contains information about a font.

The TEXTMETRICW type exposes the following members.

Methods

 

Name

Description

Public method

Equals

Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code for this instance. (Inherited from ValueType.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

 

Name

Description

Public field

tmAscent

Contains the distance a character extends above the base line.

Public field

tmAveCharWidth

Contains the average width of characters.

Public field

tmBreakChar

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

Public field

tmCharSet

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

Public field

tmDefaultChar

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

Public field

tmDescent

Contains the distance characters extend below the baseline.

Public field

tmDigitizedAspectX

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

Public field

tmDigitizedAspectY

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

Public field

tmExternalLeading

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

Public field

tmFirstChar

Contains the first character defined in the font.

Public field

tmHeight

Contains the maximum height of characters in the font.

Public field

tmInternalLeading

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

Public field

tmItalic

Contains a value indicating whether the font is italic.

Public field

tmLastChar

Contains the last character defined in the font.

Public field

tmMaxCharWidth

Contains the maximum character width.

Public field

tmOverhang

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

Public field

tmPitchAndFamily

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

Public field

tmStruckOut

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

Public field

tmUnderlined

Contains a value indicating whether the font is underlined.

Public field

tmWeight

Contains the weight of the font.

Top

See Also

Reference

TEXTMETRICW Structure

Microsoft.VisualStudio.OLE.Interop Namespace