LogFont.Height Field
Specifies the height of the character cell or character of a font.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
Syntax
'Declaration
Public Height As Integer
'Usage
Dim instance As LogFont
Dim value As Integer
value = instance.Height
instance.Height = value
public int Height
public:
int Height
public int Height
public var Height : int
Not applicable.
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 Height as described in the following table.
Value |
Description |
---|---|
>0 |
The font mapper transforms the 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 the 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.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
LogFont Class
LogFont Members
Microsoft.WindowsCE.Forms Namespace