Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TFont.Size

Vertical size for the font in Points.

Declaration

Source position: graphics.pp line 564

published property TFont.Size : Integer
  read GetSize
  write SetSize
  stored False;

Description

Size is an Integer property which contains the height for the font in Points (1/72 of an inch). The value in Size is calculated using the logical font height, and is not read or written in LCL component streaming.

Setting a new value for the property causes the font Reference to be re-created for the class instance. The new value is stored by calling SetSize in the ancestor class. The new value is also converted to pixels (using PixelsPerInch) and stored in the Height property.