_Application.Resize(Int32, Int32) Method
Definition
Important
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)
Parameters
- Width
- Int32
Required Integer. The width of the window, in points.
- Height
- Int32
Required Integer. The height of the window, in points.
Remarks
Use the Width or Height property to set the window width and height independently.
If the window is maximized or minimized, an error occurs.