The rows parameter may be used to determine the number of rows of text that can currently be displayed in the text window.
query command
The current view.
query rows
query command cursorRow parameter rowHeight parameter