|
Previous Top Next |
Prototype: | (),Real |
Returns | Ratio between 96 and the Screen DPI. |
This method returns the ratio between a screen using 96DPI (normal font size) and the current screen DPI as returned by GetScreenDPI. This can be useful to scale controls down when designing on windows with large font settings. In order to scale up, use GetScreenDPIRatio.
Example:
ITW ITWindowsClass
Code
Message('Screen Base DPI ratio: ' & ITW.GetScreenBaseDPIRatio())
See also: