Task.Resize Method
Sizes the specified task window. If the window is maximized or minimized, an error occurs.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub Resize ( _
Width As Integer, _
Height As Integer _
)
'Usage
Dim instance As Task
Dim Width As Integer
Dim Height As Integer
instance.Resize(Width, Height)
void Resize(
int Width,
int Height
)
Parameters
- Width
Type: System.Int32
Required Integer. The width of the window, in points.
- Height
Type: System.Int32
Required Integer. The height of the window, in points.
Remarks
Note Use the Width or Height property to set the window width and height independently.