Function: frame-pixel-height
frame-pixel-height is a function alias for frame-native-height,
defined in frame.c.
Signature
(frame-pixel-height &optional FRAME)
Documentation
Return FRAME's native height in pixels.
If FRAME is omitted or nil, the selected frame is used. The exact value of the result depends on the window-system and toolkit in use:
In the Gtk+ and NS versions, it includes only any window (including the minibuffer or echo area), mode line, and header line. It does not include the tool bar or menu bar. With other graphical versions, it may also include the tool bar and the menu bar.
If you're interested only in the height of the text portion of the
frame, see frame-text-height instead.
For a text terminal, it includes the menu bar. In this case, the
result is really in characters rather than pixels (i.e., is identical
to frame-height).