www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: GetScreenBaseDPIRatio

Previous  Top  Next  


Prototype: (),Real

 

ReturnsRatio 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:

GetScreenDPI

GetScreenDPIRatio

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getscreenbasedpiratio_window.htm