DesktopResolutionX()

Syntax

Result.d = DesktopResolutionX()
Description
Returns the desktop DPI resolution factor on the 'x' axis.

Parameters

None.

Return value

Returns the desktop DPI resolution factor on the 'x' axis. If the value is '1', then no DPI factor has been applied to the display on the 'x' axis. If the value is '1.25', a 125% factor has been applied to the display on the 'x' axis.

Example

  Debug "Desktop DPI 'x' factor: " + DesktopResolutionX()

See Also

DesktopResolutionY(), DesktopScaledX(), DesktopScaledY(), DesktopUnscaledX(), DesktopUnscaledY()

Supported OS

All

<- DesktopName() - Desktop Index - DesktopResolutionY() ->