System.Windows.Forms.Control.SetBounds Method

Sets the specified bounds of the control to the specified location and size.

Syntax

public void SetBounds (int x, int y, int width, int height, BoundsSpecified specified)

Parameters

x
The new Control.Left property value of the control.
y
The new Control.Top property value of the control.
width
The new Control.Width property value of the control.
height
The new Control.Height property value of the control.
specified
A bitwise combination of the System.Windows.Forms.BoundsSpecified values. For any parameter not specified, the current value will be used.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0