TextMetricW Structure

Contains basic information about a physical font.

All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context.

Definition

Namespace: DevCase.Win32.Structures
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public struct TextMetricW
Inheritance
Object    ValueType    TextMetricW

Remarks

Methods

Equals Indicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCode Returns the hash code for this instance.
(Inherited from ValueType)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns the fully qualified type name of this instance.
(Inherited from ValueType)

Fields

Ascent The ascent (units above the base line) of characters.
AveCharWidth The average width of characters in the font (generally defined as the width of the letter x).
BreakChar The value of the character that will be used to define word breaks for text justification
CharSet The character set of the font.
DefaultChar The value of the character to be substituted for characters not in the font.
Descent The descent (units below the base line) of characters
DigitizedAspectX The horizontal aspect of the device for which the font was designed.
DigitizedAspectY The vertical aspect of the device for which the font was designed.
ExternalLeading The amount of extra leading (space) that the application adds between rows.
FirstChar The value of the first character defined in the font.
Height The height (ascent + descent) of characters.
InternalLeading The amount of leading (space) inside the bounds set by the tmHeight member.
Italic Specifies an italic font if it is nonzero
LastChar The value of the last character defined in the font.
MaxCharWidth The width of the widest character in the font.
Overhang The extra width per string that may be added to some synthesized fonts.
PitchAndFamily Specifies information about the pitch, the technology, and the family of a physical font.
StruckOut A strikeout font if it is nonzero.
Underlined Specifies an underlined font if it is nonzero
Weight The weight of the font.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also