NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.SetBounds (Int32, Int32, Int32, Int32, BoundsSpecified)

Sets the bounds of the control.

[Visual Basic]
Overloads Public Sub SetBounds( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal specified As BoundsSpecified _
)
[C#]
public void SetBounds(
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
);
[C++]
public: void SetBounds(
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
);
[JScript]
public function SetBounds(
   x : int,
   y : int,
   width : int,
   height : int,
   specified : BoundsSpecified
);

Parameters

x
new left of the control.
y
new right of the control.
width
new width of the control.
height
new height of the control.
specified
Which values were specified. For any parameter not marked as specified, the current value will be used.

See Also

Control Class | Control Members | System.WinForms Namespace | Control.SetBounds Overload List