Control.FontHeight Property
.NET Framework 2.0
Gets or sets the height of the font of the control.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @property */ protected int get_FontHeight () /** @property */ protected void set_FontHeight (int value)
protected function get FontHeight () : int protected function set FontHeight (value : int)
Property Value
The height of the Font of the control in pixels. Note |
|---|
| The FontHeight property should not be set to any value other than the control's Font.Height value, or -1. Setting FontHeight to -1 has the effect of clearing the cached height value, and the value is recalculated the next time the property is referenced. |
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show:
Note