System.Windows.Forms.Control.FontHeight Property

Gets or sets the height of the font of the control.

Syntax

protected int FontHeight { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Note:

The Control.FontHeight property should not be set to any value other than the control's System.Drawing.Font.Height value, or -1. Setting Control.FontHeight to -1 has the effect of clearing the cached height value, and the value is recalculated the next time the property is referenced.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0