Returns the horizontal size in mm corresponding to the pixels.
<display>
Name | Type | Description |
---|---|---|
pixels | integer | The horizontal pixels. |
monitor | integer | The monitor number (optional). |
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>