Console.LargestWindowHeight Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the largest possible number of console window rows, based on the current font and screen resolution.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public static int LargestWindowHeight { get; }

Property Value

Type: System.Int32

The height of the largest possible console window measured in rows.

.NET Framework
Available since 2.0
Return to top