Returns the vertical point 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 points and percentages increase from top to bottom, with the top of the screen corresponding to a value of 0.
The following displays the point value corresponding to the vertical middle of the screen on the second monitor:
<text myText>
/ items= ("points = <% display.getPointsY(50%, 2) %>")
</text>
The following displays the point value corresponding to the bottom side of the screen on the first (default) monitor:
<page myPage>
points = <% display.getPointsY(100%) %>
</page>