[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Height for the font (in pixels).
Source position: graphics.pp line 577
published property TFont.Height : Integer |
Height is an Integer property which contains the height for the font in pixels. The property value is not stored during LCL streaming operations when its value is the same as the value in DefFontData.
Setting a new value for the property causes the font handle in Reference to be re-created. Size is also updated with the new property value converted to Points (1/72 of an inch). The formula for the conversion is:
Size := -MulDiv(AValue, 72, FPixelsPerInch);
Changed is called to signal the OnChange event handler (when assigned).
When a value is assigned to Height, the value in Size is represented as a negative number. Conversely, when a value is assigned to Size, the value in Height is represented as a negative number.
Use Size to read or write the height for the font as a number of Points (1/72 inch).
|
Vertical size for the font in Points. |
|
|
Reference - References made to this Font. |
|
|
Display density for the font. |
Version 4.0 | Generated 2025-05-03 | Home |