up Inquisit Language Reference

getmmy function

Returns the vertical size in mm corresponding to the pixels.

Member of

<display>

Syntax

element.name.getmmy(pixels, monitor)

Parameters

Name Type Description
pixels integer The vertical pixels.
monitor integer The monitor number (optional).

Examples

The following displays the vertical size in mm corresponding to 300 pixels on the second monitor:

<text sometext>
/ items= ("mm = <% display.getmmy(300, 2) %>")
</text>

The following displays the vertical size in mm corresponding to last mouse coordinate on the first (default) monitor:

<page somepage>
mm = <% display.getmmy(mouse.y) %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.