dxGetSystemMetrics(Integer,TdxScaleFactor) Method
In This Article
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 |
AScale |
Tdx |
#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