Modifica

Condividi tramite


Task.Resize(Int32, Int32) Method

Definition

Sizes the specified task window. If the window is maximized or minimized, an error occurs.

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

Note Use the Width or Height property to set the window width and height independently.

Applies to