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!

Rectangle Constructor (Int32, Int32, Int32, Int32)

Creates a new Rectangle. The size and location are determined from the parameters.

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

Parameters

x
x location
y
y location
width
width
height
height

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace | Rectangle Constructor Overload List