Control.FontHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the height of the font of the control.
protected:
property int FontHeight { int get(); void set(int value); };
protected int FontHeight { get; set; }
member this.FontHeight : int with get, set
Protected Property FontHeight As Integer
Property Value
The height of the Font of the control in pixels.
Remarks
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.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.