Vcl.Forms.TScreen.PixelsPerInch
Delphi
property PixelsPerInch: Integer read FPixelsPerInch;
C++
__property int PixelsPerInch = {read=FPixelsPerInch, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TScreen |
Description
Indicates the number of screen pixels that make up a logical inch in the vertical direction.
Read PixelsPerInch to convert between measurements in pixels and measurements in logical inches. PixelsPerInch is only accurate for vertical measurements. Most screens have a different scaling factor for horizontal measurements. The value in PixelsPerInch is set from system when the application loads.