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

dxGetSystemMetrics(Integer,TdxScaleFactor) Method

Returns the specified system metric or configuration setting (in pixels).

#Declaration

Delphi
function dxGetSystemMetrics(AIndex: Integer; AScaleFactor: TdxScaleFactor = nil): Integer;

#Parameters

Name Type
AIndex Integer
AScaleFactor TdxScaleFactor

#Returns

Type
Integer

#Remarks

Call this global function to obtain linear sizes of the operating system-provided UI elements and non-client window areas (such as a caption) multiplied by the scale factor passed as the optional AScaleFactor parameter. The dxGetSystemMetrics function works identically to the Windows API GetSystemMetrics function if you omit the scale factor.

See Also