RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScreen.PixelsPerInch Property

Indicates the number of screen pixels that make up a logical inch in the vertical direction.

Pascal
property PixelsPerInch: Integer;
C++
__property int PixelsPerInch;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!