Share via


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

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.

See Also

Reference

Task Interface

Task Members

Microsoft.Office.Interop.Word Namespace