PSHostRawUserInterface.MaxPhysicalWindowSize Property

Definition

Gets the largest window possible for the current font and display hardware, ignoring the current buffer dimensions. In other words, the dimensions of the largest window that could be rendered in the current display, if the buffer was at least as large.

public:
 abstract property System::Management::Automation::Host::Size MaxPhysicalWindowSize { System::Management::Automation::Host::Size get(); };
public abstract System.Management.Automation.Host.Size MaxPhysicalWindowSize { get; }
member this.MaxPhysicalWindowSize : System.Management.Automation.Host.Size
Public MustOverride ReadOnly Property MaxPhysicalWindowSize As Size

Property Value

Remarks

To resize the window to this dimension, use BufferSize to first check and, if necessary, adjust, the screen buffer size.

Applies to

See also