Initializes a new instance of the Rect class with the specified location and size.

Namespace: CADImport.Export.SimpleCADtoDXF
Assembly: CADImport (in CADImport.dll)

Public Sub New( _ 
ByVal x1 As Integer, _ 
ByVal y1 As Integer, _ 
ByVal x2 As Integer, _ 
ByVal y2 As Integer
)
This language is not supported or no code example is available.
public Rect( 
int x1
int y1
int x2
int y2 
)
This language is not supported or no code example is available.

Parameters

x1

Type: int

The left coordinate of the rectangle.

y1

Type: int

The top coordinate of the rectangle.

x2

Type: int

The right coordinate the rectangle.

y2

Type: int

The bottom coordinate of the rectangle.

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6