DesktopResolutionY()

Syntax

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

Parameters

None.

Return value

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

Remarks

The application needs to be compiled with the 'DPI Aware' switch to have this command returning real DPI resolution factor. If not, the result will be always be '1'.

Example

  Debug "Desktop DPI 'y' factor: " + DesktopResolutionY()

See Also

DesktopResolutionX(), DesktopScaledX(), DesktopScaledY(), DesktopUnscaledX(), DesktopUnscaledY()

Supported OS

All

<- DesktopResolutionX() - Desktop Index - DesktopScaledX() ->