TFont.PixelsPerInch property
Display density for the font.
Declaration
property PixelsPerInch: Integer read FPixelsPerInch write SetPixelsPerInch;Description
PixelsPerInch is an
Integer property which indicates
the display density (or pixels per inch) for the font.
The default value for the property is set when the class instance is created, and uses the value from the PixelsPerInchY member in ScreenInfo. It is also updated when Assign is used to copy property values from another font instance.
PixelsPerInch is used when values are assigned to the Height or Size properties to convert pixel values to the Points unit of measure used in Size.
Setting a new value in PixelsPerInch causes Height to be scaled to the new value for the property. Changed is also called to signal the OnChange event handler (when assigned).
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
