Returns the vertical pixel corresponding to the given screen percentage.
<display>
Name | Type | Description |
---|---|---|
percent | integer | The vertical percentage of the screen. |
monitor | integer | The monitor number (optional). |
The following displays the pixel value corresponding to the vertical middle of the screen on the second monitor:
<text sometext>
/ items= ("pixels = <% display.getpixelsy(50, 2) %>")
</text>
The following displays the pixel value corresponding to the bottom side of the screen on the first (default) monitor:
<page somepage>
pixels = <% display.getpixelsy(100) %>
</page>