Control.FontHeight Eigenschaft
Definition
Ruft die Höhe der Schriftart des Steuerelements ab oder legt diese fest.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
Eigenschaftswert
Hinweise
Hinweis
Die FontHeight-Eigenschaft darf nicht auf einen anderen Wert als Font.Height-Wert des Steuer Elements oder-1 festgelegt werden.The FontHeight property should not be set to any value other than the control's Font.Height value, or -1. Das Festlegen von FontHeight auf-1 hat den Effekt, dass der zwischengespeicherte Höhen Wert gelöscht wird, und der Wert wird neu berechnet, wenn die Eigenschaft das nächste Mal referenziert wird.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.