Returns the vertical percentage corresponding to the pixels.
<display>
Name | Type | Description |
---|---|---|
percent | integer | The vertical pixels. |
monitor | integer | The monitor number (optional). |
The following displays the vertical percentage corresponding to 300 pixels on the second monitor:
<text sometext>
/ items= ("percentage = <% display.getpercenty(300, 2) %>")
</text>
The following displays the vertical percentage corresponding to last mouse coordinate on the first (default) monitor:
<page somepage>
percentage = <% display.getpercenty(mouse.y) %>
</page>