UIDLGLOGFONT.lfHeight Field
Specifies the height, in logical units, of the character cell or character of the font.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public lfHeight As Integer
public int lfHeight
public:
int lfHeight
val mutable lfHeight: int
public var lfHeight : int
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++]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.