up Inquisit Language Reference

getmmx function

Returns the horizontal size in mm corresponding to the pixels.

Member of

<display>

Syntax

element.name.getmmx(pixels, monitor)

Parameters

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

Examples

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

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

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

<page somepage>
mm = <% display.getmmx(mouse.x) %>
</page>

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