| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
Parameters
- x
- The x-coordinate of the upper-left corner of the rectangle.
- y
- The y-coordinate of the upper-left corner of the rectangle.
- width
- The width of the rectangle in pixels.
- height
- The height of the rectangle in pixels.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family