Returns the vertical size in mm corresponding to the given location or size.
<display>
extent
Name | Type | Description |
---|---|---|
y | extent | The vertical location or size value. |
monitor | integer | Optional. The monitor number. |
Both pixels and mm increase from top to bottom, with the leftmost side of the screen corresponding to a value of 0.
The following displays the vertical size in mm corresponding to 300 pixels on the second monitor:
<text myText>
/ 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 myPage>
mm = <% display.getMMY(mouse.y) %>
</page>