Table of Contents

DPI property (System)

Description

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

Property Value

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

<1> X (horizontal) DPI

<2> Y (vertical) Position

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

Remarks

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.

Example

 
// Get the System DPI

  

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

See Also

Common GUI DPI Property, Appendix K - High DPI Programming