|
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 up when designing on windows with large font settings. In order to scale down, use GetScreenBaseDPIRatio.
Example:
ITW ITWindowsClass
Code
Message('Screen DPI Ratio: ' & ITW.GetScreenDPIRatio())
See also: