Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxSetProcessDpiAwareness(TdxProcessDpiAwareness) Method

Enables the specified DPI awareness mode for the current process.

#Declaration

Delphi
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