DesktopUnscaledX()

Syntax

Result = DesktopUnscaledX(Value)
Description
Returns the unscaled value according to current display DPI on 'x' axis. This is mostly useful to calculate real pixel position independently of the display DPI.

Parameters

Value The value to use.

Return value

Returns the unscaled value according to current display DPI on 'x' axis. For example, on a display with a 125% DPI applied, a value of 125 will result to 100.

Example

  Debug "Desktop DPI 'x' unscaled value of 125: " + DesktopUnscaledX(125)

See Also

DesktopResolutionX(), DesktopResolutionY(), DesktopScaledX(), DesktopScaledY(), DesktopUnscaledY()

Supported OS

All

<- DesktopScaledY() - Desktop Index - DesktopUnscaledY() ->