dxSetProcessDpiAwareness(TdxProcessDpiAwareness) Method
In This Article
Enables the specified DPI awareness mode for the current process.
#Declaration
Delphi
function dxSetProcessDpiAwareness(AValue: TdxProcessDpiAwareness): Boolean;
#Parameters
Name | Type | Description |
---|---|---|
AValue | Tdx |
Specifies the target DPI awareness mode. |
#Returns
Type | Description |
---|---|
Boolean |
|
#Remarks
Warning
Do not call the dx
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