Console.LargestWindowWidth Property

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 */
public static int get_LargestWindowWidth ()

public static function get LargestWindowWidth () : int

Not applicable.

Property Value

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: