Initializes a new instance of the DRect class as a two-dimensional rectangle.

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

Public Sub New( _ 
ByVal x1 As Double, _ 
ByVal x2 As Double, _ 
ByVal x3 As Double, _ 
ByVal x4 As Double
)
This language is not supported or no code example is available.
public DRect( 
double x1
double x2
double x3
double x4 
)
This language is not supported or no code example is available.

Parameters

x1

Type: double

X-coordinate of the rectangle's top-left corner.

x2

Type: double

Y-coordinate of the rectangle's top-left corner.

x3

Type: double

X-coordinate of the rectangle's bottom-right corner.

x4

Type: double

Y-coordinate of the rectangle's bottom-right corner.

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