Partager via


UIDLGLOGFONT.lfHeight Field

Definition

Specifies the height, in logical units, of the character cell or character of the font.

public: int lfHeight;
public: int lfHeight;
int lfHeight;
[System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.LONG")]
public int lfHeight;
[<System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.LONG")>]
val mutable lfHeight : int
Public lfHeight As Integer 

Field Value

Attributes

Remarks

The character height value, also known as the em height, is the character cell height value minus the internal-leading value. The font mapper interprets the value specified in lfHeight in the following manner.

Value Meaning
> 0 The font mapper transforms this value into device units and matches it against the cell height of the available fonts.
0 The font mapper uses a default height value when it searches for a match.
< 0 The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts.

For all height comparisons, the font mapper looks for the largest font that does not exceed the requested size. This mapping occurs when the font is used for the first time.

COM Signature

From uilocale.idl.

[C++]

Applies to