_YPIXELS returns the number of vertical pixels on the current physical display.

 

See also _XPIXELS.