Skip to main content

dxSetProcessDpiAwareness(TdxProcessDpiAwareness) Method

Enables the specified DPI awareness mode for the current process.

Declaration

function dxSetProcessDpiAwareness(AValue: TdxProcessDpiAwareness): Boolean;

Parameters

Name Type Description
AValue TdxProcessDpiAwareness

Specifies the target DPI awareness mode.

Returns

Type Description
Boolean

True if the DPI awareness mode change operation is successful; otherwise, False.

Remarks

Warning

Do not call the dxSetProcessDpiAwareness function in your application. Instead, enable the required DPI awareness mode in RAD Studio project settings as described in the following help topic: High DPI and Graphics.

See Also