Table of Contents

DPIAWARE property (System)

Description

Specifies if the Presentation Server is running in "DPI-Aware" mode. When in "DPI-Aware" mode the Presentation Server windows and controls will respond to changes made to the system or monitor DPI. If this is not the case the all windows and controls assume they are running with a fixed DPI of 96 and are scaled by the operating system accordingly.

Property Value

This property is a Boolean value. It returns FALSE$ if the Presentation Server was loaded with "suppressDPIAware" flag set to "1" in the RXI file, or if the "SD" command line switch was set to "1". If neither of these conditions are met the property returns TRUE$.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

Remarks

Some objects within the system can use Direct2D to renderer their contents, which in many cases means better performance, so this property is normally set to TRUE$.

The DPIAWARE property is controlled by the "SD" command line switch or the "suppressDPIAware" RXI configuration file option. See Starting the Presentation Server for more details.

Example

 
IsDpiAware = Get_Property( "SYSTEM", "DPIAWARE" )