guides:programming:programmers_reference_manual:dpiscaling_property_window

DPISCALING property (Window)

Specifies if the window is allowed to scale itself in line with the system/monitor DPI settings at runtime.

This property is a Boolean value.

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGetNoNoNo

When set to TRUE$ the window will automatically scale itself to the DPI of the monitor it is running on when it is created (or when moved onto a monitor with a different DPI under Windows 8.1+).

If this property is set to FALSE$ then the window is always rendered at 96DPI.

 
// Get the window DPISCALING setting  

   IsDPIScaling = Get_Property( @Window, "DPISCALING" )
 
 
 

SYSTEM DPI property, DPI property, SCALEFACTOR property.

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