Resize(Size) Method
Resizes this window so that the available working area has the specified width and height in character metric.

C# Syntax

void Resize( 
   Size size
)

Parameters

size
The target size in pixels.