編輯

共用方式為


_Application.Resize(Int32, Int32) Method

Definition

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.

Applies to