DPISCALING property (Window)
Description
Specifies if the window is allowed to scale itself in line with the system/monitor DPI settings at runtime.
Property Value
This property is a Boolean value.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get | No | No | No |
Remarks
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.
Example
// Get the window DPISCALING setting IsDPIScaling = Get_Property( @Window, "DPISCALING" )
See Also
SYSTEM DPI property, DPI property, SCALEFACTOR property.