guides:programming:programmers_reference_manual:dpi_property_system

DPI property (System)

Returns the System DPI Setting, i.e. the DPI of the primary monitor.

This property is an @fm-delimited array containing the system DPI values.

<1> X (horizontal) DPI

<2> Y (vertical) Position

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

This property is essentially a wrapper around the GetDeviceCaps Windows API function for the LOGPIXELSX and LOGPIXELSY attributes, so please refer to the documentation on the Microsoft website for further information.

 
// Get the System DPI

  

  SystemDPI = Get_Property( "SYSTEM", "DPI" )
 
 
 

Common GUI DPI Property, Appendix K - High DPI Programming

  • guides/programming/programmers_reference_manual/dpi_property_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1