Vcl.Graphics.TFont.IsDPIRelated
Delphi
property IsDPIRelated: Boolean read FIsDPIRelated write FIsDPIRelated;
C++
__property bool IsDPIRelated = {read=FIsDPIRelated, write=FIsDPIRelated, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TFont |
Description
IsDPIRelated property reflects that the current font size is scaled for the current screen DPI.
When screen DPI changes:
- If the IsDPIRelated property is True, the font Height is scaled using the PixelsPerInch property
- If the IsDPIRelated property is False, it is set to True, PixelsPerInch property is set to the current DPI, and the DPI change is applied to font Height.