Resize(Int32, Int32) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sizes the Microsoft Word application window or the specified task window.
public: void Resize(int Width, int Height);
public void Resize (int Width, int Height);
abstract member Resize : int * int -> unit
Public Sub Resize (Width As Integer, Height As Integer)
Required Integer. The width of the window, in points.
Required Integer. The height of the window, in points.
If the window is maximized or minimized, an error occurs.