CRT Documentation: Reference

ScreenHeight

[This function does not have a corresponding DOS function.]

Returns the height of the screen.

function ScreenHeight: integer;

Parameters

This function has no parameters.

Return Values

Returns the height of the console/screen in character cells.

Remarks

The return value is 1-based. This is a new function for Delphi and was not previously available in Turbo Pascal or Borland Pascal.

See Also

Crt Overview, ScreenWidth