frame-text-lines

frame-text-lines is a built-in function in `C source code'.

(frame-text-lines &optional FRAME)

Return height in lines of FRAME's text area.