RAD Studio VCL Reference
TPropertyPage.PixelsPerInch Property

Represents the proportion of the font on the system on which the form was designed.

property PixelsPerInch: Integer;
__property int PixelsPerInch;

Use PixelsPerInch at runtime to change how the form is scaled to the current screen resolution. If PixelsPerInch is changed from its default value, the form will not have the same proportion on every screen resolution. 

At design time, PixelsPerInch is set automatically when the form is saved. Changes to PixelsPerInch made in the Object Inspector only affect the form at runtime. 

The form's Scaled property must be true for PixelsPerInch to have an effect. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!