Query a monitor's aspect ratio


See also Video functions.

Signature:

ratio = GetMonitorAspectRatio(monitorIndex)

Arguments:

  • monitorIndex - Number of the monitor to query; nil = current (number)

Returns:

  • ratio - Horizontal-to-vertical aspect ratio of the queried monitor (number)