Console.LargestWindowWidth Property

 
System_CAPS_noteNote

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

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

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

public static int LargestWindowWidth { get; }

Property Value

Type: System.Int32

The width of the largest possible console window measured in columns.

.NET Framework
Available since 2.0
Return to top
Show: